Esc

response_size

procedureextensionexperimentalSource
  • macOS: response_size works on macOS
  • Linux: response_size works on Linux
  • Windows: response_size works on Windows
  • Wasm: response_size works on Wasm

Where the head ends and how long the body is, once the head has arrived. closes says the server ends the connection after this response (it does after max_requests_per_connection, 10,000).

Signature

response_size :: (data: [] u8) -> (size: int, closes: bool)

See also