Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Standard interface for creating a configured Server which supports Websockets or SSE

Functions

Link copied to clipboard
@JvmName(name = "sseHandlerAsServer")
fun SseHandler.asServer(config: PolyServerConfig): Http4kServer
@JvmName(name = "wsHandlerAsServer")
fun WsHandler.asServer(config: PolyServerConfig): Http4kServer
@JvmName(name = "sseConsumerAsServer")
fun SseConsumer.asServer(config: PolyServerConfig): Http4kServer
@JvmName(name = "wsConsumerAsServer")
fun WsConsumer.asServer(config: PolyServerConfig): Http4kServer