ServerRequest

interface ServerRequest

A server-side request, as used as parameter by ServerHandler and RouterHandler.

Functions

Link copied to clipboard
abstract fun <T : Any> body(type: KClass<T>): T

The request body.

Properties

Link copied to clipboard
abstract val headers: RequestHeaders

The request headers.

Link copied to clipboard
abstract val method: Method

The request method.

Link copied to clipboard
abstract val path: String

The request path.