Bristol SU Support Package
|
Public Member Functions | |
__construct (BaseGuzzleInterface $client) | |
request ($method, $uri, array $options=[]) | |
Private Attributes | |
$client | |
Guzzle implementation of the API client
Definition at line 15 of file GuzzleClient.php.
BristolSU\Support\Connection\Client\GuzzleClient::__construct | ( | BaseGuzzleInterface | $client | ) |
BaseGuzzleInterface | $client | Client to send the request to |
Definition at line 27 of file GuzzleClient.php.
References BristolSU\Support\Connection\Client\GuzzleClient\$client.
BristolSU\Support\Connection\Client\GuzzleClient::request | ( | $method, | |
$uri, | |||
array | $options = [] |
||
) |
Send a request and return the response
string | $method | Method to use for the request |
string | $uri | URL of the request |
array | $options | Options for the request. See Guzzle options for more information |
GuzzleException | if the request failed |
Implements BristolSU\Support\Connection\Contracts\Client\Client.
Definition at line 42 of file GuzzleClient.php.
|
private |
Definition at line 22 of file GuzzleClient.php.
Referenced by BristolSU\Support\Connection\Client\GuzzleClient\__construct().