public function RequestInterface::setProtocolVersion

Set the HTTP protocol version of the request (e.g. 1.1 or 1.0)

Parameters

string $protocol HTTP protocol version to use with the request:

Return value

RequestInterface

1 method overrides RequestInterface::setProtocolVersion()
Request::setProtocolVersion in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Set the HTTP protocol version of the request (e.g. 1.1 or 1.0)

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/RequestInterface.php, line 146

Class

RequestInterface
Generic HTTP request interface

Namespace

Guzzle\Http\Message

Code

public function setProtocolVersion($protocol);