K V Service Manager
open class KVServiceManager<T : Any>(serviceClass: KClass<T>) : KVServiceMgr<T>
Content copied to clipboard
Multiplatform service manager.
open class KVServiceManager<T : Any>(serviceClass: KClass<T>) : KVServiceBinder<T, RequestHandler, WebsocketHandler> , KVServiceMgr<T>
Content copied to clipboard
Multiplatform service manager for Spring Boot.
Constructors
KVServiceManager
Link copied to clipboard
Types
Functions
bind
Link copied to clipboard
inline fun <PAR1 : Any, PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String?)
Content copied to clipboard
inline fun <RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod, route: String?)
Content copied to clipboard
inline fun <PAR, RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?)
Content copied to clipboard
inline fun <PAR1, PAR2, RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?)
Content copied to clipboard
inline fun <PAR1, PAR2, PAR3, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?)
Content copied to clipboard
inline fun <PAR1, PAR2, PAR3, PAR4, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?)
Content copied to clipboard
createRequestHandler
Link copied to clipboard
open override fun <RET> createRequestHandler(method: HttpMethod, function: suspend T.(params: List<String?>) -> RET, serializer: KSerializer<RET>): RequestHandler
Content copied to clipboard
createWebsocketHandler
Link copied to clipboard
open override fun <REQ, RES> createWebsocketHandler(function: suspend T.(ReceiveChannel<REQ>, SendChannel<RES>) -> Unit, requestSerializer: KSerializer<REQ>, responseSerializer: KSerializer<RES>): WebsocketHandler
Content copied to clipboard
getCalls
Link copied to clipboard
Properties
deSerializer
Link copied to clipboard
routeMapRegistry
Link copied to clipboard
serviceClass
Link copied to clipboard
webSocketRequests
Link copied to clipboard