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
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);