Namespace LaunchDarkly.EventSource
Classes
CommentReceivedEventArgs
Provides data recieved in the EventSource CommentReceived event.
Configuration
An immutable class containing configuration properties for EventSource.
ConfigurationBuilder
A standard Builder pattern for constructing a Configuration instance.
EventSource
Provides an EventSource client for consuming Server-Sent Events. Additional details on the Server-Sent Events spec can be found at https://html.spec.whatwg.org/multipage/server-sent-events.html
EventSourceServiceCancelledException
General superclass for exceptions that caused the EventSource to disconnect or fail to establish a connection.
EventSourceServiceUnsuccessfulResponseException
Indicates that the EventSource was able to establish an HTTP connection, but received a non-successful status code.
ExceptionEventArgs
Provides exception data raised in the EventSource Error event.
MessageReceivedEventArgs
The parameter type for a MessageReceived event handler.
ReadTimeoutException
An exception that indicates that the configured read timeout elapsed without receiving any new data from the server.
StateChangedEventArgs
Provides data for the state of the EventSource connection.
Structs
MessageEvent
Represents the Server-Sent Event message received from a stream.
Utf8ByteSpan
Points to a span of UTF-8-encoded text in a buffer.
Interfaces
IEventSource
This interface defines the public members of EventSource.
Enums
ReadyState
Represents the state of the connection in the EventSource class.