THTTPServerEvent record
Server-sent event data structure
Declaration
THTTPServerEvent = recordDescription
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.
Methods
ToString | public | Returns string representation of the server event |
Fields
Id | public | Event ID for server-sent events |
Data | public | Event data content |
Event | public | Event type name |
Comment | public | Event comment |
Retry | public | Retry interval for the event |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
