Skip to main content

Module body

Module body 

Source
Expand description

Zero-copy body wrapper for Cloudflare Workers.

Holds the raw ReadableStream from an incoming request so it can be forwarded to the backend without copying through WASM memory.

Structs§

JsBody
Zero-copy body wrapper. Holds the raw ReadableStream from the incoming request, passing it through the Gateway untouched for Forward requests.

Functions§

collect_js_body
Materialize a JsBody into Bytes for the NeedsBody path.