ServerSocketHandler

korolev.effect.io.ServerSocket$.ServerSocketHandler
See theServerSocketHandler companion object
sealed trait ServerSocketHandler[F[_]]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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.

Attributes

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.

Attributes