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

HttpRequestBeanFactory
Link copied to clipboard
open class HttpRequestBeanFactory

Helper factory for the HttpRequest bean.

KVController
Link copied to clipboard
open class KVController

Controller for handling automatic routes.

KVManagers
Link copied to clipboard
data class KVManagers(services: List<KVServiceManager<*>>)

A wrapper class for declaring a list of KVision Service Managers as a dependency.

KVServerWebSocket
Link copied to clipboard
class KVServerWebSocket

Micronaut WebSocket handler.

KVServiceManager
Link copied to clipboard
expect open class KVServiceManager<T : Any>(serviceClass: KClass<T>)

Multiplatform service manager.

RequestHandler
Link copied to clipboard
typealias RequestHandler = suspend (<ERROR CLASS><out <ERROR CLASS>>, ThreadLocal<<ERROR CLASS><out <ERROR CLASS>>>, <ERROR CLASS>) -> <ERROR CLASS><String>
StaticResources
Link copied to clipboard
class StaticResources

Default static resources configuration.

WebsocketHandler
Link copied to clipboard
typealias WebsocketHandler = suspend (<ERROR CLASS>, ThreadLocal<<ERROR CLASS>>, <ERROR CLASS>, <ERROR CLASS><String>, <ERROR CLASS><String>) -> Unit
WebSocketSessionBeanFactory
Link copied to clipboard
open class WebSocketSessionBeanFactory

Helper factory for the WebSocketSession bean.

Functions

matches
Link copied to clipboard
fun <T> <ERROR CLASS><T>.matches(vararg services: KVServiceManager<*>): Boolean