Метод | Описание | |
---|---|---|
__construct ( Http\Client\HttpClient $client, Http\Message\MessageFactory $factory = null ) | ||
setClient ( Http\Client\HttpClient $client ) : |
||
setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : |
Метод | Описание | |
---|---|---|
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 | ||
Результат | Http\Client\HttpClient |
protected getMessageFactory ( ) : Http\Message\MessageFactory | ||
Результат | Http\Message\MessageFactory |
public setClient ( Http\Client\HttpClient $client ) : |
||
$client | Http\Client\HttpClient | |
Результат |
public setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : |
||
$messageFactory | Http\Message\MessageFactory | |
Результат |