Enum ReadyState
Represents the state of the connection in the EventSource class.
Namespace: LaunchDarkly.EventSource
Assembly: LaunchDarkly.EventSource.dll
Syntax
public enum ReadyState
Fields
| Name | Description |
|---|---|
| Closed | The connection is closed. This could also occur when an error is received. |
| Connecting | The connection has not yet been established, or it was closed and is reconnecting. |
| Open | The connection is open and is processing events as it receives them. |
| Raw | The initial state of the connection. |
| Shutdown | The connection has been shutdown explicitly by the consumer using the Close() method. |