RoutingApplicationResponse
An application response handled by Routing.
Constructors
Functions
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.
Properties
An ApplicationCall instance this ApplicationResponse is attached to.
Extensions
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
A type of response object that is passed in the respond function. Can be useful for custom serializations.