TsgcSSEClient › Methods › Close
Stops the stream and the automatic reconnection.
procedure Close;
Stops the background thread, cancels any pending reconnection and sets ReadyState to sseClosed. LastEventId keeps its value after Close, so it can be saved and restored later.
oSSE.Close;