We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24b9271 commit 1769b67Copy full SHA for 1769b67
docs/2.utils/1.request.md
@@ -346,6 +346,16 @@ app.get("/", (event) => {
346
});
347
```
348
349
+### `requestWithBaseURL(req, base)`
350
+
351
+Create a lightweight request proxy with the base path stripped from the URL pathname.
352
353
+### `requestWithURL(req, url)`
354
355
+Create a lightweight request proxy that overrides only the URL.
356
357
+Avoids cloning the original request (no `new Request()` allocation).
358
359
### `toRequest(input, options?)`
360
361
Convert input into a web [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request).
0 commit comments