docs: deprecate setting ProtocolResponse.session to null (#46131)
* docs: deprecate setting ProtocolResponse.session to null * docs: mark null ProtocolResponse.session as deprecated in struct docs * Update docs/breaking-changes.md Co-authored-by: Keeley Hammond <vertedinde@electronjs.org> --------- Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
This commit is contained in:
parent
4f4e23a3b3
commit
f7ba0d3b4b
2 changed files with 13 additions and 1 deletions
|
@ -28,6 +28,8 @@
|
|||
* `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.
|
||||
* `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"`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue