Method | Description | |
---|---|---|
sendRequest ( $method, $uri, array $headers = [], $body = null, $protocolVersion = '1.1' ) | ||
setHttpClient ( Http\Client\HttpClient $httpClient ) | ||
setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : |
Method | Description | |
---|---|---|
getHttpClient ( ) : Http\Client\HttpClient |
Method | Description | |
---|---|---|
getMessageFactory ( ) : Http\Message\MessageFactory |
protected getHttpClient ( ) : Http\Client\HttpClient | ||
return | Http\Client\HttpClient |
public sendRequest ( $method, $uri, array $headers = [], $body = null, $protocolVersion = '1.1' ) | ||
$headers | array |
public setHttpClient ( Http\Client\HttpClient $httpClient ) | ||
$httpClient | Http\Client\HttpClient |
public setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : |
||
$messageFactory | Http\Message\MessageFactory | |
return |