Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class HttpExchangeHandler(handler: HttpHandler) : HttpHandler
Link copied to clipboard
interface ServerConfig

Standard interface for creating a configured WebServer

Link copied to clipboard
class SunHttp(port: Int = 8000, val stopMode: ServerConfig.StopMode = Immediate) : ServerConfig

Stock version of an SunHttp 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 SunHttpLoom(val port: Int = 8000, val stopMode: ServerConfig.StopMode = Immediate) : ServerConfig

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

Functions

Link copied to clipboard
Link copied to clipboard