fun <T : Any> Route.delete(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |
|
fun <T : Any> Route.get(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |
|
fun <T : Any> Route.handle(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Unit
Registers a handler body for a location defined by class T. fun <T : Any> Route.handle(dataClass: KClass<T>, body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Unit
Registers a handler body for a location defined by class dataClass. |
|
fun <T : Any> Route.head(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |
|
fun <T : Any> Route.location(body: Route.() -> Unit): Route
Registers a route body for a location defined by class T. fun <T : Any> Route.location(data: KClass<T>, body: Route.() -> Unit): Route
Registers a route body for a location defined by class data. |
|
fun <T : Any> Route.options(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |
|
fun <T : Any> Route.patch(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |
|
fun <T : Any> Route.post(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |
|
fun <T : Any> Route.put(body: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit): Route
Registers a typed handler body for a |