Transforms a Web Request into a Stone.js IncomingHttpEvent.
It relies only on Web-standard APIs (URL, Headers, arrayBuffer()), which is exactly what the
Azure Functions v4 HttpRequest exposes — 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.It relies only on Web-standard APIs (
URL,Headers,arrayBuffer()), which is exactly what the Azure Functions v4HttpRequestexposes — nonode:http, noproxy-addr. The untouched request body is exposed asmetadata.rawBody; JSON and URL-encoded bodies are additionally parsed intobody.