SessionState

scamper.http.websocket.SessionState

Defines state of WebSocket session.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case case Closed extends SessionState

Session is closed.

Session is closed.

In this state, a session can neither receive nor send messages.

Attributes

case case Open extends SessionState

Session is open.

Session is open.

In this state, a session reads incoming messages. It can also send messages.

Attributes

case case Pending extends SessionState

Session is pending.

Session is pending.

In this state, a session does not read incoming messages. However, it can send messages.

Attributes