Ratpack

class Ratpack(port: Int = 8000, stopMode: ServerConfig.StopMode) : ServerConfig

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

Functions

Link copied to clipboard
open override fun toServer(http: HttpHandler): Http4kServer