Closed prasanthsd closed 6 years ago
Hi,
Sorry for the looooong delay; I have recently started maintaining this project.
This is not supported very nicely out of the box.
You could either:
Modify the uri of the request being sent:
send
are just standard HTTP requests, so you can use the base Guzzle RequestInterface
to modify the uri as such:$loginUri = new Uri('http://domain/login');
$request = $client->request('id1', 'method1', ['data' => 'stuff'])
->withUri($loginUri);
$response = $client->send($request);
These obviously will not work with batched requests if you are attempting to send to different endpoints.
Hi,
I tried using this with a RPC server which has different URL paths for certain methods. For example when im executing "method1" the url maybe http://domain/login and when in other cases it maybe http://domain/execute
Does this package support this or will this be added sometime in the future?