Skip to content

TResponse.EndServerEvents

Ends server-sent events mode

Declaration

Source position: httpdefs.pp line 624

public 
procedure TResponse.EndServerEvents;  virtual;

Description

EndServerEvents terminates server-sent events mode and closes the SSE connection. This properly ends the event stream and releases associated resources.