Esc

exchange_terminal

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

Exposes protocol failure facts without exposing the private stream. GOAWAY's accepted streams may continue; only refused or failed streams are terminal.

Signature

exchange_terminal :: (exchange: *Http2_Exchange) -> Http2_Terminal
Example
exchange: Http2_Exchange;
assert(exchange_terminal(*exchange).kind == .CONNECTION);

See also