Undertow

class Undertow(port: Int = 8000, val stopMode: ServerConfig.StopMode) : PolyServerConfig

Stock version of an Undertow Server. Not that if you want to configure your own server instance you can duplicate this code and modify it as required. We are purposefully trying to limit options here to keep the API simple for the 99% of use-cases.

Constructors

Link copied to clipboard
constructor(port: Int = 8000)
constructor(port: Int = 8000, stopMode: ServerConfig.StopMode)

Properties

Link copied to clipboard
open override val stopMode: ServerConfig.StopMode

Functions

Link copied to clipboard
open override fun toServer(http: HttpHandler): Http4kServer
open override fun toServer(http: HttpHandler?, ws: WsHandler?, sse: SseHandler?): Http4kServer
Link copied to clipboard
Link copied to clipboard