Method | Description | |
---|---|---|
__construct ( Http\Client\HttpClient $client, Http\Message\MessageFactory $factory = null ) | ||
setClient ( Http\Client\HttpClient $client ) : |
||
setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : |
Method | Description | |
---|---|---|
getHttpClient ( ) : Http\Client\HttpClient | Returns the HTTP adapter. | |
getMessageFactory ( ) : Http\Message\MessageFactory |
public __construct ( Http\Client\HttpClient $client, Http\Message\MessageFactory $factory = null ) | ||
$client | Http\Client\HttpClient | |
$factory | Http\Message\MessageFactory |
protected getHttpClient ( ) : Http\Client\HttpClient | ||
return | Http\Client\HttpClient |
protected getMessageFactory ( ) : Http\Message\MessageFactory | ||
return | Http\Message\MessageFactory |
public setClient ( Http\Client\HttpClient $client ) : |
||
$client | Http\Client\HttpClient | |
return |
public setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : |
||
$messageFactory | Http\Message\MessageFactory | |
return |