[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/guzzlehttp/psr7/src/ -> Response.php (summary)

(no description)

File Size: 155 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Response:: (6 methods):
  __construct()
  getStatusCode()
  getReasonPhrase()
  withStatus()
  assertStatusCodeIsInteger()
  assertStatusCodeRange()


Class: Response  - X-Ref

PSR-7 response implementation.

__construct($status = 200,array $headers = [],$body = null,$version = '1.1',$reason = null)   X-Ref

param: int                                  $status  Status code
param: array                                $headers Response headers
param: string|null|resource|StreamInterface $body    Response body
param: string                               $version Protocol version
param: string|null                          $reason  Reason phrase (when empty a default will be used based on the status code)

getStatusCode()   X-Ref
No description

getReasonPhrase()   X-Ref
No description

withStatus($code, $reasonPhrase = '')   X-Ref
No description

assertStatusCodeIsInteger($statusCode)   X-Ref
No description

assertStatusCodeRange($statusCode)   X-Ref
No description



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1