Creates a new Server-Sent Events source
Source position: fphttpclient.pp line 70
public constructor TCustomHTTPEventSource.Create( |
aSocket: TSocketStream; |
const aBuffer: AnsiString |
); |
aSocket |
|
The socket stream for the SSE connection |
aBuffer |
|
Initial buffer data from the connection |
Creates a new Server-Sent Events source using the provided socket stream and initial buffer data.
|
Destroys the Server-Sent Events source |