RawResponse
final class RawResponse implements RawResponseInterface
Methods
__construct(int $statusCode, array $headers, string $body, string $version)
Create a new raw response instance.
int
getStatusCode()
Get the HTTP status code.
array
getHeaders()
Get the response headers.
string
getBody()
Get the response body.
string
getVersion()
Get the HTTP protocol version.
Details
at line 16
__construct(int $statusCode, array $headers, string $body, string $version)
Create a new raw response instance.
at line 27
int
getStatusCode()
Get the HTTP status code.
at line 35
array
getHeaders()
Get the response headers.
at line 43
string
getBody()
Get the response body.
at line 51
string
getVersion()
Get the HTTP protocol version.