Method |
Description |
|
addMock ( GuzzleHttp\HandlerStack $mock ) : void |
Attempt to add a mocked handler stack to guzzle, primary usage is
to be able to test this code. |
|
baseUrl ( string $url ) : void |
Sets the base url to be used for future requests. |
|
request ( string $path, array $params = [] ) : Response |
Attempts to do a request of the given path. |
|
setTimeout ( integer $seconds ) : void |
Set a timeout in seconds for how long we will wait for the server
to respond. If the server does not respond within the set number
of seconds we throw an exception. |
|