Package io. kvision. remote
A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
Types
KVServiceManager
Link copied to clipboard
open class KVServiceManager<T : Any>(serviceClass: KClass<T>) : KVServiceBinder<T, RequestHandler, WebsocketHandler> , KVServiceMgr<T>
Content copied to clipboard
RequestHandler
Link copied to clipboard
WebsocketHandler
Link copied to clipboard
Functions
applyRoutes
Link copied to clipboard
fun <T : Any> Vertx.applyRoutes(router: Router, serviceManager: KVServiceManager<T>)
Content copied to clipboard
initStaticResources
Link copied to clipboard
kvisionInit
Link copied to clipboard
fun Vertx.kvisionInit(initStaticResources: Boolean = true, router: Router, vararg modules: Module)
Content copied to clipboard
fun Vertx.kvisionInit(router: Router, server: HttpServer, wsServiceManagers: List<KVServiceManager<*>> = emptyList(), vararg modules: Module)
Content copied to clipboard
fun Vertx.kvisionInit(initStaticResources: Boolean = true, router: Router, server: HttpServer, wsServiceManagers: List<KVServiceManager<*>> = emptyList(), vararg modules: Module)
Content copied to clipboard
serviceRoute
Link copied to clipboard
fun Router.serviceRoute(service: KVServiceManager<*>, handler: Handler<RoutingContext>)
Content copied to clipboard
Properties
KV_INJECTOR_KEY
Link copied to clipboard