Package io. kvision. remote
A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
Types
KVService Manager
Link copied to clipboard
Multiplatform service manager.
Request Handler
Link copied to clipboard
Websocket Handler
Link copied to clipboard
Functions
apply Routes
Link copied to clipboard
fun <T : Any> <ERROR CLASS>.applyRoutes(router: <ERROR CLASS>, 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 Vert.x server.
kvision Init
Link copied to clipboard
fun <ERROR CLASS>.kvisionInit(router: <ERROR CLASS>, vararg modules: Module): <ERROR CLASS>
Content copied to clipboard
fun <ERROR CLASS>.kvisionInit(initStaticResources: Boolean = true, router: <ERROR CLASS>, vararg modules: Module): <ERROR CLASS>
Content copied to clipboard
Initialization function for Vert.x server.
fun <ERROR CLASS>.kvisionInit(router: <ERROR CLASS>, server: <ERROR CLASS>, wsServiceManagers: List<KVServiceManager<*>> = emptyList(), vararg modules: Module): <ERROR CLASS>
Content copied to clipboard
fun <ERROR CLASS>.kvisionInit(initStaticResources: Boolean = true, router: <ERROR CLASS>, server: <ERROR CLASS>, wsServiceManagers: List<KVServiceManager<*>> = emptyList(), vararg modules: Module): <ERROR CLASS>
Content copied to clipboard
Initialization function for Vert.x server with support for WebSockets.
service Route
Link copied to clipboard
fun <ERROR CLASS>.serviceRoute(service: KVServiceManager<*>, handler: <ERROR CLASS><<ERROR CLASS>>)
Content copied to clipboard
Properties
KV_INJECTOR_KEY
Link copied to clipboard