Package-level declarations

Types

Link copied to clipboard
class ApacheServer(port: Int, val stopMode: ServerConfig.StopMode) : ServerConfig

Stock version of an Apache 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.

Link copied to clipboard
class Http4kRequestHandler(handler: HttpHandler) : HttpRequestHandler

Exposed to allow for insertion into a customised Apache WebServer instance

Functions

Link copied to clipboard
fun defaultBootstrap(port: Int, http: HttpHandler, canonicalHostname: String): ServerBootstrap
Link copied to clipboard
fun HttpServer.stopWith(stopMode: ServerConfig.StopMode)