Sign in Join
FPDoc Onlineexperiment

THTTPEventStreamHandler procedure type

In unit fpHTTPClient

Event type for handling Server-Sent Events streams

Declaration

pascal
THTTPEventStreamHandler = procedure(aSender: TObject; 
 aSource: TCustomHTTPEventSource)
 of object

Arguments

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.