deepak1556 8 years ago
parent
commit
a23e7ecf8f
2 changed files with 10 additions and 0 deletions
  1. 1 0
      docs/api/protocol.md
  2. 9 0
      docs/api/session.md

+ 1 - 0
docs/api/protocol.md

@@ -93,6 +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.
 
 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

+ 9 - 0
docs/api/session.md

@@ -326,6 +326,14 @@ 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)`
+
+* `uuid` String
+* `callback` Function
+  * `result` Buffer - Blob data.
+
+Returns the blob data associated with `uuid`.
+
 ### Instance Properties
 
 The following properties are available on instances of `Session`:
@@ -513,6 +521,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.
 
 The `callback` has to be called with an `response` object: