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

TCustomHTTPEventSource.Create

Creates a new Server-Sent Events source

Declaration

Source position: fphttpclient.pp line 70

public constructor TCustomHTTPEventSource.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

Destroy

  

Destroys the Server-Sent Events source


Documentation generated on: Jan 27 2026