THTTPEventStreamHandler procedure type
Event type for handling Server-Sent Events streams
Declaration
THTTPEventStreamHandler = procedure(aSender: TObject;
aSource: TCustomHTTPEventSource)
of objectArguments
aSender | The HTTP client that created the event source |
aSource | The event source for reading SSE data |
Description
Event type called when a Server-Sent Events stream is established, providing access to the event source for reading events.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
