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

THTTPEventStreamHandler

Event type for handling Server-Sent Events streams

Declaration

Source position: fphttpclient.pp line 84

type 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

TCustomHTTPEventSource

  

Base class for Server-Sent Events (SSE) client

TFPHTTPClient.OnEventStream

  

Event called when a Server-Sent Events stream is established


Documentation generated on: Jan 27 2026