|
| static | getHeader ( $code) |
| | Construct an HTTP status code header.
|
| |
| static | getMessage ( $code) |
| | Get the message associated with an HTTP response status code.
|
| |
| static | header ( $code) |
| | Output an HTTP status code header.
|
| |
| static | registerHeadersSentCallback (callable $callback) |
| |
- Todo
- document
Definition at line 16 of file HttpStatus.php.
◆ getHeader()
| static Wikimedia\Http\HttpStatus::getHeader |
( |
| $code | ) |
|
|
static |
Construct an HTTP status code header.
- Since
- 1.42
- Parameters
-
- Returns
- string
Definition at line 99 of file HttpStatus.php.
◆ getMessage()
| static Wikimedia\Http\HttpStatus::getMessage |
( |
| $code | ) |
|
|
static |
Get the message associated with an HTTP response status code.
- Parameters
-
- Returns
- string|null Message, or null if $code is not known
Definition at line 36 of file HttpStatus.php.
◆ header()
| static Wikimedia\Http\HttpStatus::header |
( |
| $code | ) |
|
|
static |
Output an HTTP status code header.
- Since
- 1.26
- Parameters
-
Definition at line 122 of file HttpStatus.php.
◆ registerHeadersSentCallback()
| static Wikimedia\Http\HttpStatus::registerHeadersSentCallback |
( |
callable | $callback | ) |
|
|
static |
The documentation for this class was generated from the following file: