KtorServer

object KtorServer : ServerHandler<KtorServerScope<*>>

A Krosstalk server handler that adds the krosstalk method endpoints to a Ktor server.

Functions

Link copied to clipboard
fun <K : Krosstalk, KrosstalkServer<KtorServerScope<*>>> define(base: Route, krosstalk: K)

Defines the necessary routes for krosstalk's methods.

Sources

Link copied to clipboard