RoutingApplicationRequest

An application request handled by Routing.

Constructors

Link copied to clipboard
fun RoutingApplicationRequest(call: RoutingApplicationCall, pipeline: ApplicationReceivePipeline, request: ApplicationRequest)

Functions

Link copied to clipboard
open override fun receiveChannel(): <ERROR CLASS>

Receives a raw body payload as a channel.

Properties

Link copied to clipboard
open override val call: RoutingApplicationCall

An ApplicationCall instance this ApplicationRequest is attached to.

Link copied to clipboard
open override val cookies: RequestCookies

Provides access to cookies for this request.

Link copied to clipboard
open override val headers: <ERROR CLASS>

Provides access to headers for the current request. You can also get access to specific headers using dedicated extension functions, such as acceptEncoding, contentType, cacheControl, and so on.

Link copied to clipboard
open override val local: <ERROR CLASS>

Provides access to connection details such as a host name, port, scheme, and so on. To get information about a request passed through an HTTP proxy or a load balancer, install the ForwardedHeaders/XForwardedHeader plugin and use the origin property.

Link copied to clipboard
open override val pipeline: ApplicationReceivePipeline

A pipeline for receiving content.

Link copied to clipboard
open override val queryParameters: <ERROR CLASS>

Provides access to decoded parameters of a URL query string.

Link copied to clipboard
open override val rawQueryParameters: <ERROR CLASS>

Provides access to parameters of a URL query string.