Web server response wrapper class.
More...
Web server response wrapper class.
- Examples:
- redirection_interception.php.
Constructor.
- Parameters
-
string | $contents | Raw response string (including headers) |
Returns response body.
- Return values
-
Returns response headers.
- Return values
-
Returns HTTP response code.
- Return values
-
Returns raw response string (including headers).
- Return values
-
string | Raw response string (including headers) |
setRawContents |
( |
|
$contents | ) |
|
Sets raw response string (including headers).
- Parameters
-
string | $contents | Raw response string (including headers) |
The documentation for this class was generated from the following file: