Skip to content

TResponse.SendServerEvent

Sends a server-sent event

Declaration

Source position: httpdefs.pp line 623

public 
procedure TResponse.SendServerEvent(const aEvent: THTTPServerEvent)
                                   ;  virtual;

Description

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