Response
class Response implements ProvidesResponseData
Class Response
Constants
| private HEADER_PATTERN |
|
| private STATUS_CODE_PATTERN |
|
| private LINE_BREAK_PATTERN |
|
| private BLANK_LINE_PATTERN |
|
| private DEFAULT_STATUS_CODE |
|
Methods
__construct(string $output, string $error, float $duration)
No description
array
getHeader(string $headerKey)
No description
string
getHeaderLine(string $headerKey)
No description
array
getHeaders()
No description
string
getBody()
No description
string
getOutput()
No description
string
getError()
No description
float
getDuration()
No description
int
getStatusCode()
Returns the status code of the Status header, or 200 if there is no Status header, as defined by the CGI specification.
Details
at line 40
__construct(string $output, string $error, float $duration)
No description
at line 136
array
getHeader(string $headerKey)
No description
at line 141
string
getHeaderLine(string $headerKey)
No description
at line 146
array
getHeaders()
No description
at line 151
string
getBody()
No description
at line 156
string
getOutput()
No description
at line 161
string
getError()
No description
at line 166
float
getDuration()
No description
at line 175
int
getStatusCode()
Returns the status code of the Status header, or 200 if there is no Status header, as defined by the CGI specification.