Skip to content

TCustomHTTPEventSource.Create

Creates a new Server-Sent Events source

Declaration

Source position: fphttpclient.pp line 74

public 
constructor TCustomHTTPEventSource.Create(aSocket: TSocketStream; 
                                         const aBuffer: AnsiString);

Description

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

See also

Name Description
Destroy Destroys the Server-Sent Events source