ServerSocketHandler

sealed trait ServerSocketHandler[F[_]]
Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def awaitShutdown(): F[Unit]

Awaits server socket close. If server configured with graceful shutdown, waits until all client connections are closed.

Awaits server socket close. If server configured with graceful shutdown, waits until all client connections are closed.

def stopServingRequests(): F[Unit]

Stop accepting new connections and serving requests.

Stop accepting new connections and serving requests.

If you are using server with HTTP note that WebSockets and other request without content length will be open until connection closed by a client.