Skip to content

TResponse.StartServerEvents

Starts server-sent events mode

Declaration

Source position: httpdefs.pp line 622

public 
procedure TResponse.StartServerEvents;  virtual;

Description

StartServerEvents initiates server-sent events (SSE) mode for real-time communication. This sets the appropriate headers and keeps the connection open for streaming events.