Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface ServerConfig
Standard interface for creating a configured WebServer
Link copied to clipboard
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.