SSEParser

Incremental parser for W3C Server-Sent Events streams.

Declared in src/libs/libwebrequest/webrequest/SSEParser.hpp
Inherits QObject
Group libwebrequest

Detailed description

Accepts raw byte chunks from an HTTP response and incrementally parses them according to the W3C Server-Sent Events specification. Emits eventReceived() for each complete event and tracks the last event ID and reconnect time.

See also WebRequest.

In this section