Sign in Join
FPDoc Onlineexperiment

TResponse.StartServerEvents procedure

Member of TResponsepublicIn unit HTTPDefs

Starts server-sent events mode

Declaration

pascal
procedure 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.