Ref T2783. To query a repository, we want to connect to a node which hosts it, but also connect using the correct instance hostname.
Allow ConduitClient to specify an explicit hostname.
Differential D10960
Allow ConduitClient to specify an explicit Host epriestley on Dec 10 2014, 6:21 PM. Authored by Tags None Referenced Files
Subscribers
Details
Ref T2783. To query a repository, we want to connect to a node which hosts it, but also connect using the correct instance hostname. Allow ConduitClient to specify an explicit hostname. Used a script like this to verify that setHost() is impactful: <?php require_once 'scripts/__init_script__.php'; $response = id(new ConduitClient('http://127.0.0.1/')) ->setHost('local.phacility.com') ->callMethodSynchronous('conduit.ping', array()); var_dump($response);
Diff Detail
|