case classHttpServerListener(host: String = "127.0.0.1", port: Int = 8080, enabled: Boolean = true) extends ServerSocketListener with Product with Serializable
case classHttpsServerListener(host: String = "127.0.0.1", port: Int = 8443, keyStore: KeyStore = KeyStore(), enabled: Boolean = false) extends ServerSocketListener with Product with Serializable
case classKeyStore(path: String = "keystore.jks", password: String = "password") extends Product with Serializable
ServerImplementations are responsible for managing the underlying server functionality specific to a server
implementation.
ServerImplementations are responsible for managing the underlying server functionality specific to a server
implementation. Incoming requests in the implementation should generate an HttpRequest and a default HttpResponse
and then call Server.handle(request, response) to get back an updated HttpResponse. That response should be be
be applied to the implementation to handle the server's response.
ServerImplementations are responsible for managing the underlying server functionality specific to a server implementation. Incoming requests in the implementation should generate an HttpRequest and a default HttpResponse and then call Server.handle(request, response) to get back an updated HttpResponse. That response should be be be applied to the implementation to handle the server's response.