public function Response::getProtocolVersion in RESTful 7.2
Gets the HTTP protocol version.
Return value
string The HTTP protocol version
Overrides ResponseInterface::getProtocolVersion
1 call to Response::getProtocolVersion()
- Response::prepare in src/
Http/ Response.php - Prepares the Response before it is sent to the client.
File
- src/
Http/ Response.php, line 281 - Contains \Drupal\restful\Http\Response.
Class
Namespace
Drupal\restful\HttpCode
public function getProtocolVersion() {
return $this->version;
}