Transforms a Web Request into a Stone.js IncomingHttpEvent.
Fully platform-agnostic: it relies only on Web-standard APIs (Request, URL, Headers), so
it runs unchanged on Cloudflare Workers, Deno, Bun and the Edge runtimes — no node:http, no
proxy-addr. The untouched request body is exposed as metadata.rawBody; JSON and
URL-encoded bodies are additionally parsed into body.
Transforms a Web
Requestinto a Stone.jsIncomingHttpEvent.Fully platform-agnostic: it relies only on Web-standard APIs (
Request,URL,Headers), so it runs unchanged on Cloudflare Workers, Deno, Bun and the Edge runtimes — nonode:http, noproxy-addr. The untouched request body is exposed asmetadata.rawBody; JSON and URL-encoded bodies are additionally parsed intobody.