nee-ctx-web-ktor / dev.neeffect.nee.ctx.web.pure / RouteBuilder

RouteBuilder

class RouteBuilder<R, G : TxProvider<R, G>>

Constructors

<init>

RouteBuilder()

Extension Functions

delete

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.delete(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>

get

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.get(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>

head

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.head(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>

nested

fun <R, G : TxProvider<R, G>> RouteBuilder<R, G>.nested(path: String = "", f: (Routing<R, G>) -> RoutingDef<R, G>): RoutingDef<R, G>

options

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.options(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>

patch

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.patch(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>

post

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.post(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>

put

fun <A : Any, R, G : TxProvider<R, G>> RouteBuilder<R, G>.put(path: String = "", f: (ApplicationCall) -> Nee<WebContext<R, G>, Any, A>): RoutingDef<R, G>