Class EventSource
Assembly: LaunchDarkly.EventSource.dll
Syntax
public class EventSource : IEventSource, IDisposable
Constructors
EventSource(Configuration)
Declaration
public EventSource(Configuration configuration)
Parameters
EventSource(Uri)
Declaration
public EventSource(Uri uri)
Parameters
Type |
Name |
Description |
Uri |
uri |
|
Properties
ReadyState
Declaration
public ReadyState ReadyState { get; }
Property Value
Methods
Close()
Declaration
Dispose()
Declaration
Restart(bool)
Declaration
public void Restart(bool resetBackoffDelay)
Parameters
Type |
Name |
Description |
bool |
resetBackoffDelay |
|
StartAsync()
Declaration
Returns
Events
Closed
Declaration
public event EventHandler<StateChangedEventArgs> Closed
Event Type
Declaration
public event EventHandler<CommentReceivedEventArgs> CommentReceived
Event Type
Error
Declaration
public event EventHandler<ExceptionEventArgs> Error
Event Type
MessageReceived
Declaration
public event EventHandler<MessageReceivedEventArgs> MessageReceived
Event Type
Opened
Declaration
public event EventHandler<StateChangedEventArgs> Opened
Event Type
Implements