Package io. kvision. remote
A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.
Types
Http Request Bean Factory
Link copied to clipboard
Helper factory for the HttpRequest bean.
KVController
Link copied to clipboard
Controller for handling automatic routes.
KVManagers
Link copied to clipboard
A wrapper class for declaring a list of KVision Service Managers as a dependency.
KVServer Web Socket
Link copied to clipboard
Micronaut WebSocket handler.
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 Micronaut.
Request Handler
Link copied to clipboard
typealias RequestHandler = suspend (HttpRequest<*>, ThreadLocal<HttpRequest<*>>, ApplicationContext) -> HttpResponse<String>
Content copied to clipboard
Static Resources
Link copied to clipboard
Default static resources configuration.
Websocket Handler
Link copied to clipboard
typealias WebsocketHandler = suspend (WebSocketSession, ThreadLocal<WebSocketSession>, ApplicationContext, ReceiveChannel<String>, SendChannel<String>) -> Unit
Content copied to clipboard
Web Socket Session Bean Factory
Link copied to clipboard
Helper factory for the WebSocketSession bean.