Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtQuicStreamManager.TakeServiceStream

function TakeServiceStream(out aStreamID: UInt64; out aIndex: Integer): Boolean;
Service hints. A stream is queued, at most once at a time and in FIFO order, when a STREAM frame leaves data or FIN deliverable at its read cursor, when a locally initiated stream receives its first peer input, when a reset becomes undelivered, and on the first STOP_SENDING. TakeReceived re-queues a stream that still has deliverable data or FIN before returning. Creation, STREAM_DATA_BLOCKED, MAX_STREAM_DATA, local opens and materialization by API calls queue nothing. A hint is advisory: consumers evaluate current state when they take it. Queuing never opens, materializes or changes a stream, never allocates and never raises. TakeServiceStream removes the oldest hint; False explicitly returns zero and -1.