TsgcSSEClient › Events

TsgcSSEClient Events

Events you can handle, grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
OnOpenFires when the server accepts the stream.
OnErrorFires when a connection attempt or the stream fails.
OnReconnectFires before every reconnection attempt so the delay can be changed or the reconnection cancelled.
OnCloseFires when the client stops for good.
OnBeforeConnectFires before every connection attempt with the HTTP client, to configure TLS, proxy and authentication.

Messages

NameDescription
OnEventFires for every event received from the server.

All Events (alphabetical)

NameDescription
OnBeforeConnectFires before every connection attempt with the HTTP client, to configure TLS, proxy and authentication.
OnCloseFires when the client stops for good.
OnErrorFires when a connection attempt or the stream fails.
OnEventFires for every event received from the server.
OnOpenFires when the server accepts the stream.
OnReconnectFires before every reconnection attempt so the delay can be changed or the reconnection cancelled.