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

THTTPServerEvent

Server-sent event data structure

Declaration

Source position: httpdefs.pp line 566

type THTTPServerEvent = record

public

  Id: string;

  

Event ID for server-sent events

  Data: array of string;

  

Event data content

  Event: string;

  

Event type name

  Comment: string;

  

Event comment

  Retry: Integer;

  

Retry interval for the event

  function ToString;

  

Returns string representation of the server event

end;

Description

THTTPServerEvent represents a server-sent event for real-time communication with web clients. This structure contains all the fields needed to send events to clients using the Server-Sent Events (SSE) standard.


Documentation generated on: Jan 16 2026