Package-level declarations

Properties

Link copied to clipboard
val RequestConnectionPoint.uriPrefix: String

Builds the URI prefix (scheme, host, and port) for this RequestConnectionPoint.

Functions

Link copied to clipboard
inline suspend fun ApplicationCall.redirectTo(permanent: Boolean = false, block: () -> String)
inline suspend fun RoutingContext.redirectTo(permanent: Boolean = false, block: () -> String)

Redirects the client to the URL produced by block.

Link copied to clipboard
inline suspend fun ApplicationCall.respondWith(contentType: ContentType = Text.Html, block: () -> String)
inline suspend fun RoutingContext.respondWith(contentType: ContentType = Text.Html, block: () -> String)

Responds to the client with text content produced by block.