namespace LaunchDarkly.EventSource
{
///
/// Represents the state of the connection in the class.
///
public enum ReadyState
{
///
/// The initial state of the connection.
///
Raw,
///
/// The connection has not yet been established, or it was closed and is reconnecting.
///
Connecting,
///
/// The connection is open and is processing events as it receives them.
///
Open,
///
/// The connection is closed. This could also occur when an error is received.
///
Closed,
///
/// The connection has been shutdown explicitly by the consumer using the method.
///
Shutdown
}
}