HttpRequestInfo

data class HttpRequestInfo(val request: ApplicationRequest)(source)

Parameters

request

This is the raw ApplicationRequest provided by Ktor, the HTTP transport library used by Kweb. It can be used to read various information about the inbound HTTP request, however you should use properties of HttpRequestInfo directly instead if possible.

Note that values in `ApplicationRequest` can change during a connection, see [issue #154])(https://github.com/kwebio/kweb-core/issues/154).

Constructors

Link copied to clipboard
constructor(request: ApplicationRequest)

Properties

Link copied to clipboard
val cookies: RequestCookies
Link copied to clipboard
Link copied to clipboard
val request: ApplicationRequest
Link copied to clipboard
Link copied to clipboard