Feature notes: HTTPS application layer notes (HTTP/1.1, h2, h3)
inherits from Exception
constructor Create(aErrorCode: UInt64; const aMessage: string);
property ErrorCode: UInt64 read fErrorCode;
QpackMaxTableCapacity, QpackBlockedStreams, MaxFieldSectionSize: UInt64;
Kind: tHttp3FramePieceKind;
FrameType, FrameLength: UInt64;
Data: TBytes;
DataOffset, DataCount: Integer;
One reader belongs to one ordered stream. Read consumes at most the supplied input and returns one header, DATA chunk or completion. A header is returned before payload allocation so the caller can reject stream or message context. DATA pieces retain a read-only reference to aData, with DataOffset/DataCount selecting the chunk; no payload copy is made. Completion carries the buffered payload for HEADERS, SETTINGS, PUSH_PROMISE and single-integer frames. Unknown payloads are discarded incrementally without allocation. Complete pieces for DATA and unknown types have no Data. Call Read until False, including with empty input, before Finish at FIN. Context, frame ordering and message semantics are the caller's responsibility. Reader state is unusable after an exception.
constructor Create(aMaxBufferedFrame: Integer);
function Read(const aData: TBytes; var aOffset: Integer; out aPiece: tHttp3FramePiece): Boolean;
procedure Finish;
property Incomplete: Boolean read GetIncomplete;