src/LaunchDarkly.EventSource/EventSource.cs
/// <summary>
/// Closes the connection to the EventSource API.
/// </summary>
Closes the connection to the EventSource API.
Closes the connection to the EventSource API .
public void Close()
        {
            if (ReadyState == ReadyState.Raw || ReadyState == ReadyState.Shutdown) return;
            Close(ReadyState.Shutdown);
            CancelToken();
        }
public void Close ( ) { if ( ReadyState == ReadyState . Raw || ReadyState == ReadyState . Shutdown ) return ; Close ( ReadyState . Shutdown ) ; CancelToken ( ) ; }
Closes the connection to the EventSource API.
Closes the connection to the EventSource API .
// Cancel token to cancel requests.