TCustomHTTPEventSource.ReadEvent function
Reads one Server-Sent Event from the stream
Declaration
function ReadEvent(out aEvent: THTTPServerEvent;
aConcatData: Boolean=True): BooleanArguments
aEvent | The Server-Sent Event that was read |
aConcatData | Whether to concatenate multi-line event data |
Function result
True if an event was successfully readDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
