ServerRequestScope

class ServerRequestScope : CoroutineScope

Represents a request scope.

Functions

Link copied to clipboard
fun withContext(coroutineContext: CoroutineContext): ServerRequestScope

Creates another request scope with same parameters except coroutine context

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
val input: <ERROR CLASS>

channel connected to request body bytes stream

Link copied to clipboard
val localAddress: <ERROR CLASS>?

on which the client was accepted (if known)

Link copied to clipboard
val output: <ERROR CLASS>

channel connected to response body

Link copied to clipboard
val remoteAddress: <ERROR CLASS>?

of the client (if known)

Link copied to clipboard
val upgraded: CompletableDeferred<Boolean>?

deferred should be completed on upgrade request