mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
docs: http protocol handlers can access headers (#15431)
* test: check http protocol handlers can access headers * docs: http protocol handlers can access headers
This commit is contained in:
committed by
Shelley Vohr
parent
59ee2859a7
commit
bae652f46d
@@ -169,6 +169,7 @@ should be called with either a `String` or an object that has the `data`,
|
||||
* `handler` Function
|
||||
* `request` Object
|
||||
* `url` String
|
||||
* `headers` Object
|
||||
* `referrer` String
|
||||
* `method` String
|
||||
* `uploadData` [UploadData[]](structures/upload-data.md)
|
||||
@@ -329,6 +330,7 @@ which sends a `Buffer` as a response.
|
||||
* `handler` Function
|
||||
* `request` Object
|
||||
* `url` String
|
||||
* `headers` Object
|
||||
* `referrer` String
|
||||
* `method` String
|
||||
* `uploadData` [UploadData[]](structures/upload-data.md)
|
||||
|
||||
Reference in New Issue
Block a user