mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
feat: net.fetch() supports custom protocols (#36606)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user