public function Response::getStatusCode

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

Get the response status code

Return value

integer

1 call to Response::getStatusCode()
Response::canCache in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php
Check if the response can be cached

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 307

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getStatusCode() {
  return $this->statusCode;
}