Reads one Server-Sent Event from the stream
Source position: fphttpclient.pp line 75
public function TCustomHTTPEventSource.ReadEvent( |
out aEvent: THTTPServerEvent; |
aConcatData: Boolean = True |
):Boolean; |
aEvent |
|
The Server-Sent Event that was read |
aConcatData |
|
Whether to concatenate multi-line event data |
True if an event was successfully read
Reads one Server-Sent Event from the stream. Will block if no data is available. Returns False if no event could be read or the stream is closed.
|
Checks if data is available for reading |