handle

fun handle(block: suspend WebContext.() -> Unit)

Defines the handler function for the route.

Parameters

block

The block that handles the request.


val handle: (suspend WebContext.() -> Unit) -> Unit