mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: add bypassCustomProtocolHandlers to ses.fetch (#40358)
This commit is contained in:
@@ -785,7 +785,7 @@ Returns `Promise<void>` - Resolves when all connections are closed.
|
|||||||
#### `ses.fetch(input[, init])`
|
#### `ses.fetch(input[, init])`
|
||||||
|
|
||||||
* `input` string | [GlobalRequest](https://nodejs.org/api/globals.html#request)
|
* `input` string | [GlobalRequest](https://nodejs.org/api/globals.html#request)
|
||||||
* `init` [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) (optional)
|
* `init` [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) & { bypassCustomProtocolHandlers?: boolean } (optional)
|
||||||
|
|
||||||
Returns `Promise<GlobalResponse>` - see [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response).
|
Returns `Promise<GlobalResponse>` - see [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user