mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat!: remove support for ProtocolResponse.session null value (#46264)
BREAKING CHANGE
This was deprecated in f7ba0d3b & is now being removed for Electron 37.
This commit is contained in:
@@ -25,11 +25,8 @@
|
||||
and URL responses.
|
||||
* `method` string (optional) - The HTTP `method`. This is only used for file
|
||||
and URL responses.
|
||||
* `session` Session (optional) - The session used for requesting URL, by default
|
||||
the HTTP request will reuse the current session. Setting `session` to `null`
|
||||
would use a random independent session. This is only used for URL responses.
|
||||
**Deprecated:** Using `null` to create a random independent session is
|
||||
deprecated and will be removed soon.
|
||||
* `session` Session (optional) - The session used for requesting URL.
|
||||
The HTTP request will reuse the current session by default.
|
||||
* `uploadData` [ProtocolResponseUploadData](protocol-response-upload-data.md) (optional) - The data used as upload data. This is only
|
||||
used for URL responses when `method` is `"POST"`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user