fix docs and update specs
This commit is contained in:
parent
d2e40d4fc1
commit
be4bc6b7ef
3 changed files with 68 additions and 4 deletions
|
@ -93,7 +93,7 @@ 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.
|
||||
|
||||
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
|
||||
|
|
|
@ -326,13 +326,13 @@ This doesn't affect existing `WebContents`, and each `WebContents` can use
|
|||
|
||||
Returns a `String` representing the user agent for this session.
|
||||
|
||||
#### `ses.getBlobDataForUUID(uuid, callback)`
|
||||
#### `ses.getBlobData(identifier, callback)`
|
||||
|
||||
* `uuid` String
|
||||
* `identifier` String - Valid UUID or public blob URL.
|
||||
* `callback` Function
|
||||
* `result` Buffer - Blob data.
|
||||
|
||||
Returns the blob data associated with `uuid`.
|
||||
Returns the blob data associated with the `identifier`.
|
||||
|
||||
### Instance Properties
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue