RoutingPipelineResponse
An application response handled by Routing.
Constructors
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 response Expires
HTTP header value
Append HTTP response header with temporal date (date, time and so on)
Append response Last-Modified
HTTP header value from dateTime
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.