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, int $connectTimeOut = 10)

No description

int
getTimeOut()

No description

int
getConnectTimeOut()

No description

Details

at line 47
__construct( Client $client = null)

Parameters

Client $client

at line 55
__destruct()

Unwrap Promises.

at line 67
GuzzleHttpClient setClient( Client $client)

Sets HTTP client.

Parameters

Client $client

Return Value

GuzzleHttpClient

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

Parameters

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

Return Value

mixed

at line 149
int getTimeOut()

Return Value

int

at line 157
int getConnectTimeOut()

Return Value

int