Method |
Description |
|
__construct ( Psr\Http\Message\ResponseInterface $response ) |
|
|
end ( string $data = null ) : self |
Mark the response as complete |
|
getBody ( ) |
Proxy to PsrResponseInterface::getBody() |
|
getHeader ( $header ) |
Proxy to PsrResponseInterface::getHeader() |
|
getHeaderLine ( $header ) |
Proxy to PsrResponseInterface::getHeaderLine() |
|
getHeaders ( ) |
Proxy to PsrResponseInterface::getHeaders() |
|
getOriginalResponse ( ) : Psr\Http\Message\ResponseInterface |
Return the original PSR response object |
|
getProtocolVersion ( ) |
Proxy to PsrResponseInterface::getProtocolVersion() |
|
getReasonPhrase ( ) |
Proxy to PsrResponseInterface::getReasonPhrase() |
|
getStatusCode ( ) |
Proxy to PsrResponseInterface::getStatusCode() |
|
hasHeader ( $header ) |
Proxy to PsrResponseInterface::hasHeader() |
|
isComplete ( ) : boolean |
Indicate whether or not the response is complete. |
|
withAddedHeader ( $header, $value ) |
Proxy to PsrResponseInterface::withAddedHeader() |
|
withBody ( Psr\Http\Message\StreamInterface $body ) |
Proxy to PsrResponseInterface::withBody() |
|
withHeader ( $header, $value ) |
Proxy to PsrResponseInterface::withHeader() |
|
withProtocolVersion ( $version ) |
Proxy to PsrResponseInterface::withProtocolVersion() |
|
withStatus ( $code, $reasonPhrase = null ) |
Proxy to PsrResponseInterface::withStatus() |
|
withoutHeader ( $header ) |
Proxy to PsrResponseInterface::withoutHeader() |
|
write ( string $data ) : self |
Write data to the response body |
|