Package io. kvision. remote
A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
Types
Context Module
Link copied to clipboard
KVService Manager
Link 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 Jooby.
Request Handler
Link copied to clipboard
Websocket Handler
Link copied to clipboard
typealias WebsocketHandler = (ctx: Context, configurer: WebSocketConfigurer) -> Unit
Content copied to clipboard
Functions
apply Routes
Link copied to clipboard
fun <T : Any> CoroutineRouter.applyRoutes(serviceManager: KVServiceManager<T>)
Content copied to clipboard
A function to generate routes based on definitions from the service manager.
init Static Resources
Link copied to clipboard
Initialize default static resources for Jooby server.
kvision Init
Link copied to clipboard
fun Kooby.kvisionInit(initStaticResources: Boolean = true, vararg modules: Module)
Content copied to clipboard
Initialization function for Jooby server.
Properties
KV_INJECTOR_KEY
Link copied to clipboard