Files
electron/docs/api/structures/upload-raw-data.md
trop[bot] 5605358f99 fix: pass postData to new-window event (#28542)
* fix: pass postData to new-window event

* fix type of postBody

* fix type of UploadFile and UploadRawData to be discriminated unions

* exclude the empty string from additionalFeatures

* add a test

Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
2021-04-07 09:59:34 +09:00

5 lines
96 B
Markdown

# UploadRawData Object
* `type` 'rawData' - `rawData`.
* `bytes` Buffer - Data to be uploaded.