Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun TypedResponseScope<*, Unit, *>.respond(code: HttpStatusCode = HttpStatusCode.NoContent)
inline suspend fun <Out : Any> TypedResponseScope<*, Out, *>.respond(body: Out, code: HttpStatusCode = if (body == Unit) HttpStatusCode.NoContent else HttpStatusCode.OK)
Link copied to clipboard
inline fun <In : Any, Out : Any, Params : Parameters> Route.route(endpoint: Endpoint<In, Out, Params>, crossinline block: suspend TypedResponseScope<In, Out, Params>.() -> Unit)