kvision / pl.treksoft.kvision.remote / KVServiceManager / bind

bind

protected inline actual fun <reified RET> bind(noinline function: suspend T.() -> RET, route: String?, method: RpcHttpMethod): Unit
protected inline actual fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, route: String?, method: RpcHttpMethod): Unit
protected inline actual fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, route: String?, method: RpcHttpMethod): Unit
protected inline actual fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, route: String?, method: RpcHttpMethod): Unit
protected inline actual fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, route: String?, method: RpcHttpMethod): Unit
protected inline actual fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, route: String?, method: RpcHttpMethod): Unit

Binds a given route with a function of the receiver.

Parameters

function - a function of the receiver

route - a route

method - a HTTP method

protected actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit

Binds a given function of the receiver as a select options source

Parameters

function - a function of the receiver