mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
create helper class to read blob data
This commit is contained in:
@@ -93,7 +93,8 @@ The `uploadData` is an array of `data` objects:
|
||||
* `data` Object
|
||||
* `bytes` Buffer - Content being sent.
|
||||
* `file` String - Path of file being uploaded.
|
||||
* `blobUUID` String - UUID of blob data.
|
||||
* `blobUUID` String - UUID of blob data. Use [ses.getBlobData](session.md#sesgetblobdataidentifier-callback) method
|
||||
to retrieve the data.
|
||||
|
||||
To handle the `request`, the `callback` should be called with either the file's
|
||||
path or an object that has a `path` property, e.g. `callback(filePath)` or
|
||||
|
||||
Reference in New Issue
Block a user