ApplicationResponse
A server's response. To learn how to send responses inside route handlers, see Sending responses.
See also
Inheritors
Properties
An ApplicationCall instance this ApplicationResponse 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 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.