TsgcSSEClient › Properties

TsgcSSEClient Properties

Properties grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
URLAddress of the event stream the client connects to.
HeadersExtra HTTP request headers sent with every connection attempt, one Name: Value pair per line.

Reliability

NameDescription
ReconnectOptionsControls the automatic reconnection after the stream ends or a network error happens.

State

NameDescription
ReadyStateCurrent state of the connection: connecting, open or closed.
LastEventIdId of the last event received, sent as Last-Event-ID when the client reconnects.

Diagnostics

NameDescription
NotifyEventsControls how the events are dispatched to the main thread.

All Properties (alphabetical)

NameDescription
HeadersExtra HTTP request headers sent with every connection attempt, one Name: Value pair per line.
LastEventIdId of the last event received, sent as Last-Event-ID when the client reconnects.
NotifyEventsControls how the events are dispatched to the main thread.
ReadyStateCurrent state of the connection: connecting, open or closed.
ReconnectOptionsControls the automatic reconnection after the stream ends or a network error happens.
URLAddress of the event stream the client connects to.