public function Response::getProtocolVersion

Same name in this branch
  1. 8.x drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php \Guzzle\Http\Message\Response::getProtocolVersion()
  2. 8.x drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php \Symfony\Component\HttpFoundation\Response::getProtocolVersion()

Gets the HTTP protocol version.

@api

Return value

string The HTTP protocol version

1 call to Response::getProtocolVersion()
Response::prepare in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php
Prepares the Response before it is sent to the client.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 393

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function getProtocolVersion() {
  return $this->version;
}