Sign in Join
FPDoc Onlineexperiment

TCustomHTTPEventSource.Create constructor

Member of TCustomHTTPEventSourcepublicIn unit fpHTTPClient

Creates a new Server-Sent Events source

Declaration

pascal
constructor Create(aSocket: TSocketStream; const aBuffer: AnsiString)

Arguments

aSocket

The socket stream for the SSE connection

aBuffer

Initial buffer data from the connection

Description

Creates a new Server-Sent Events source using the provided socket stream and initial buffer data.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.