PolyServerConfig

interface PolyServerConfig : ServerConfig

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

Properties

Link copied to clipboard
open val stopMode: ServerConfig.StopMode

Functions

Link copied to clipboard
open override fun toServer(http: <Error class: unknown class>): Http4kServer
abstract fun toServer(http: <Error class: unknown class>? = null, ws: WsHandler? = null, sse: SseHandler? = null): Http4kServer
Link copied to clipboard
open fun toSseServer(sse: SseHandler): Http4kServer
Link copied to clipboard
open fun toWsServer(ws: WsHandler): Http4kServer