class GuzzleHttpClient implements HttpClientInterface (View source)

Class GuzzleHttpClient

Methods

__construct( Client $client = null)

No description

__destruct()

Unwrap Promises.

setClient( Client $client)

Sets HTTP client.

mixed
send($url, $method, array $headers = array(), array $options = array(), int $timeOut = 30, bool|false $isAsyncRequest = false)

No description

Details

at line 36
__construct( Client $client = null)

Parameters

Client $client

at line 44
__destruct()

Unwrap Promises.

at line 56
GuzzleHttpClient setClient( Client $client)

Sets HTTP client.

Parameters

Client $client

Return Value

GuzzleHttpClient

at line 76
mixed send($url, $method, array $headers = array(), array $options = array(), int $timeOut = 30, bool|false $isAsyncRequest = false)

Parameters

$url
$method
array $headers
array $options
int $timeOut
bool|false $isAsyncRequest

Return Value

mixed