BaseApplicationResponse
Types
Content's body size doesn't match the provided one in Content-Length
header
Content's body size doesn't match the provided one in Content-Length
header
OutgoingContent is trying to set some header that is not allowed for this content type. For example, only upgrade content can set Upgrade
header.
Thrown when there was already response sent but we are trying to respond again
Properties
An PipelineCall instance this PipelineResponse is attached to.
Provides access to cookies for this response.
Provides access to headers for the current response.
Indicates that this response is already committed and no further changes are allowed.
A pipeline for sending content.
A type of response object that is passed in the respond function. Can be useful for custom serializations.
Functions
Appends the Cache-Control
header with the specified value to a response.
Appends the Content-Range
header with the specified range and fullLength to a response.
Appends the E-Tag
header with the specified value to a response.
Append Link
header to HTTP response
Produces HTTP/2 push from a server to a client or sets an HTTP/1.x hint header or does nothing. Exact behaviour is up to engine implementation.
Returns a response status code or null
if a status code is not set.
Specifies a status code for a response.