Sign in Join
FPDoc Onlineexperiment

TResponse.SendServerEvent procedure

Member of TResponsepublicIn unit HTTPDefs

Sends a server-sent event

Declaration

pascal
procedure SendServerEvent(const aEvent: THTTPServerEvent); virtual

Arguments

aEvent

Server event to send

Description

SendServerEvent transmits a single server-sent event to the client. This method formats and sends the event according to the SSE specification.

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