TCustomHTTPEventSource.ReadEvent¶
Reads one Server-Sent Event from the stream
Declaration¶
Source position: fphttpclient.pp line 79
public
function TCustomHTTPEventSource.ReadEvent(out aEvent: THTTPServerEvent;
aConcatData: Boolean=True)
: Boolean;
Description¶
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.
See also¶
| Name | Description |
|---|---|
| DataAvailable | Checks if data is available for reading |