Package-level declarations

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
class ContextModule(ctx: <Error class: unknown class>)
Link copied to clipboard
expect open class KVServiceManager<out T : Any>(serviceClass: KClass<T>)

Multiplatform service manager.

Link copied to clipboard
typealias RequestHandler = suspend <Error class: unknown class>.() -> Any
Link copied to clipboard
typealias SseHandler = <Error class: unknown class>.() -> Unit
Link copied to clipboard
typealias WebsocketHandler = (<Error class: unknown class>, <Error class: unknown class>) -> Unit

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun <T : Any> <Error class: unknown class>.applyRoutes(serviceManager: KVServiceManager<T>, serializersModules: List<<Error class: unknown class>>? = null)
fun <T : Any> <Error class: unknown class>.applyRoutes(serviceManager: KVServiceManager<T>, serializersModules: List<<Error class: unknown class>>? = null)

A function to generate routes based on definitions from the service manager.

Link copied to clipboard

This will make IntelliJ think that this function exists. The real implementation will be generated by the KVision Gradle Plugin.

Link copied to clipboard

This will make IntelliJ think that this function exists. The real implementation will be generated by the KVision Gradle Plugin.

Link copied to clipboard
fun getServiceManagers(vararg kclass: KClass<*>): List<KVServiceManager<*>>

This will make IntelliJ think that this function exists. The real implementation will be generated by the KVision Gradle Plugin.

Link copied to clipboard
fun <Error class: unknown class>.initStaticResources()

Initialize default static resources for Jooby server.

Link copied to clipboard
fun <Error class: unknown class>.kvisionInit(vararg modules: Module): <Error class: unknown class>
fun <Error class: unknown class>.kvisionInit(initStaticResources: Boolean = true, vararg modules: Module)

Initialization function for Jooby server.