public function ResponseInterface::setProtocolVersion in RESTful 7.2
Sets the HTTP protocol version (1.0 or 1.1).
Parameters
string $version The HTTP protocol version:
1 method overrides ResponseInterface::setProtocolVersion()
- Response::setProtocolVersion in src/
Http/ Response.php - Sets the HTTP protocol version (1.0 or 1.1).
File
- src/
Http/ ResponseInterface.php, line 68 - Contains \Drupal\restful\Http\ResponseInterface.
Class
Namespace
Drupal\restful\HttpCode
public function setProtocolVersion($version);