TsgcSSEClient › Events
TsgcSSEClient Events
Events you can handle, grouped by purpose, followed by the full alphabetical list.
Connection
| Name | Description |
| OnOpen | Fires when the server accepts the stream. |
| OnError | Fires when a connection attempt or the stream fails. |
| OnReconnect | Fires before every reconnection attempt so the delay can be changed or the reconnection cancelled. |
| OnClose | Fires when the client stops for good. |
| OnBeforeConnect | Fires before every connection attempt with the HTTP client, to configure TLS, proxy and authentication. |
Messages
| Name | Description |
| OnEvent | Fires for every event received from the server. |
All Events (alphabetical)
| Name | Description |
| OnBeforeConnect | Fires before every connection attempt with the HTTP client, to configure TLS, proxy and authentication. |
| OnClose | Fires when the client stops for good. |
| OnError | Fires when a connection attempt or the stream fails. |
| OnEvent | Fires for every event received from the server. |
| OnOpen | Fires when the server accepts the stream. |
| OnReconnect | Fires before every reconnection attempt so the delay can be changed or the reconnection cancelled. |