RoutingApplicationResponse

Represents an application response being handled by Routing

Constructors

Link copied to clipboard
fun RoutingApplicationResponse(call: RoutingApplicationCall, pipeline: ApplicationSendPipeline, response: ApplicationResponse)

Functions

Link copied to clipboard
open override fun push(builder: ResponsePushBuilder)

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
open override fun status(): HttpStatusCode?

Currently set status code for this response, or null if none was set

open override fun status(value: HttpStatusCode)

Set status for this response

Properties

Link copied to clipboard
open override val call: RoutingApplicationCall

ApplicationCall instance this ApplicationResponse is attached to

Link copied to clipboard
open override val cookies: ResponseCookies

Cookies for this response

Link copied to clipboard
open override val headers: ResponseHeaders

Headers for this response

Link copied to clipboard
open override val pipeline: ApplicationSendPipeline

Pipeline for sending content