Interfaces, Classes, Traits and Enums
- HTTPHeaders
Table of Contents
-
addHeader()
: mixed
-
getRequestHeaderValue()
: string
-
headersSent()
: bool
-
setHttpResponseCode()
: mixed
public
addHeader(string $header[, bool $replace = true ][, int $responseCode = null ]) : mixed
Parameters
-
$header
: string
-
-
$replace
: bool
= true
-
-
$responseCode
: int
= null
-
Return values
mixed
—
public
getRequestHeaderValue(string $headerName) : string
Parameters
-
$headerName
: string
-
Return values
string
—
public
headersSent() : bool
-
codeCoverageIgnore
-
Return values
bool
—
setHttpResponseCode()
public
setHttpResponseCode(int $responseCode) : mixed
Parameters
-
$responseCode
: int
-
-
codeCoverageIgnore
-
Return values
mixed
—