[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

Response:: (4 methods):
  __construct()
  getStatusCode()
  getReasonPhrase()
  withStatus()


Class: Response  - X-Ref


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

param: int $status Status code
param: array $headers Response headers
param: string|resource|StreamInterface|null $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



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer