States¶
Represents the possible states of an EventSource object.
Fields:¶
States.Initial¶
- Indicates the initial state of the EventSource, before any action has been taken.
States.Connecting¶
- Represents the state when the EventSource is attempting to establish a connection.
States.Open¶
- Indicates that the EventSource has successfully established a connection.
States.Retrying¶
- Represents the state when the EventSource is attempting to reconnect after a connection loss.
States.Closing¶
- Indicates that the EventSource is in the process of shutting down the connection.
States.Closed¶
- Represents the state when the EventSource has completely closed the connection.