feat: net.fetch() supports custom protocols (#36606)

This commit is contained in:
Jeremy Rose
2023-03-02 15:47:45 -08:00
committed by GitHub
parent 76c825d619
commit 6bd9ee6988
8 changed files with 321 additions and 36 deletions

View File

@@ -768,6 +768,10 @@ Limitations:
* The `.type` and `.url` values of the returned `Response` object are
incorrect.
Requests made with `ses.fetch` can be made to [custom protocols](protocol.md)
as well as `file:`, and will trigger [webRequest](web-request.md) handlers if
present.
#### `ses.disableNetworkEmulation()`
Disables any network emulation already active for the `session`. Resets to