protected actual inline fun <reified RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, method: HttpMethod, route: String?): Unit
Binds a given route with a function of the receiver.
function
- a function of the receiver
protected actual inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit
Binds a given web socket connetion with a function of the receiver.