Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TResponse.SendServerEvent

Sends a server-sent event

Declaration

Source position: httpdefs.pp line 610

public procedure TResponse.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.


Documentation generated on: Jan 16 2026