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

Link copied to clipboard
open class HttpRequestBeanFactory

Helper factory for the HttpRequest bean.

Link copied to clipboard
open class KVController

Controller for handling automatic routes.

Link copied to clipboard
data class KVManagers(services: List<KVServiceManager<*>>, serializersModules: List<<ERROR CLASS>>?)

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

Link copied to clipboard
class KVServerWebSocket

Micronaut WebSocket handler.

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

Multiplatform service manager.

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

Default static resources configuration.

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

Helper factory for the WebSocketSession bean.

Functions

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