KVServiceManagerJs

open class KVServiceManagerJs<T : Any> : KVServiceMgr<T>

Functions

bind
Link copied to clipboard
js
inline fun <PAR1 : Any, PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String?)
Binds a given web socket connetion with a function of the receiver.
inline fun <RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
inline fun <PAR, RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
inline fun <PAR1, PAR2, RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
inline fun <PAR1, PAR2, PAR3, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
inline fun <PAR1, PAR2, PAR3, PAR4, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
inline fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
inline fun <PAR1, PAR2, PAR3, PAR4, PAR5, PAR6, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> RET, method: HttpMethod, route: String?)
Binds a given route with a function of the receiver.
bindTabulatorRemote
Link copied to clipboard
js
inline fun <RET> bindTabulatorRemote(noinline function: suspend T.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<RET>, route: String?)
Binds a given function of the receiver as a tabulator component source
getCall
Link copied to clipboard
js
open override fun getCall(function: Function<*>): Pair<String, HttpMethod>?
requireCall
Link copied to clipboard
js
open fun requireCall(function: Function<*>): Pair<String, HttpMethod>

Properties

calls
Link copied to clipboard
js
val calls: MutableMap<String, Pair<String, HttpMethod>>
counter
Link copied to clipboard
js
var counter: Int = 0