Package-level declarations

Types

Link copied to clipboard

Configuration for the HttpRequestLifecycle plugin.

Properties

Link copied to clipboard

Default HTTP date format

Link copied to clipboard

Internal attribute key for storing the connection close handler callback.

Link copied to clipboard

A plugin that manages the HTTP request lifecycle, particularly handling client disconnections.

Functions

Link copied to clipboard

Append Link header to HTTP response

fun ApplicationResponse.link(uri: String, vararg rel: String)

Append Link header to HTTP response with specified uri and rel

Link copied to clipboard

Produces HTTP/2 push from server to client or sets HTTP/1.x hint header or does nothing (may call or not call block). Exact behaviour is up to engine implementation.

fun ApplicationCall.push(pathAndQuery: String)
fun ApplicationCall.push(encodedPath: String, encodedParameters: Parameters)

Produces HTTP/2 push from server to client or sets HTTP/1.x hint header or does nothing. Exact behaviour is up to engine implementation.

Link copied to clipboard

Format as HTTP date (GMT)