public function Request::setClient

Set the client used to transport the request

Parameters

ClientInterface $client:

Return value

RequestInterface

Overrides RequestInterface::setClient

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php, line 203

Class

Request
HTTP request class to send requests

Namespace

Guzzle\Http\Message

Code

public function setClient(ClientInterface $client) {
  $this->client = $client;
  return $this;
}