val eventuallyContent = server(Get("/hello")).flatMap { response =>
response.readAs[String]
}
An HTTP server is a service function. It handles HTTP requests
and eventually returns HTTP responses.
The server listen for HTTP connections on the socketAddress TCP socket. If ssl is defined,
it supports TLS connections. Calling the stop operation asks for a graceful shutdown.
An HTTP server.
An HTTP server is a service function. It handles HTTP requests and eventually returns HTTP responses.
The server listen for HTTP connections on the socketAddress TCP socket. If ssl is defined, it supports TLS connections. Calling the stop operation asks for a graceful shutdown.