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
ReadableStreamfrom the incoming request, passing it through the Gateway untouched for Forward requests.
Functions§
- collect_
js_ body - Materialize a
JsBodyintoBytesfor the NeedsBody path.