Esc

exchange_head_ended

procedureextensionexperimentalsince 0.36.1Source
  • macOS: exchange_head_ended works on macOS
  • Linux: exchange_head_ended works on Linux
  • Windows: exchange_head_ended works on Windows
  • Wasm: exchange_head_ended works on Wasm

Whether the initial response block itself ended the peer's send direction. This fact remains stable when later DATA or terminal trailers arrive.

Signature

exchange_head_ended :: (exchange: *Http2_Exchange) -> bool
Example
exchange: Http2_Exchange;
assert(!exchange_head_ended(*exchange)); // no head has arrived

See also