session: provide uploadData with webrequest api when available

This commit is contained in:
Robo 2016-01-26 13:58:21 +05:30
parent b461969114
commit dc0151099c
5 changed files with 88 additions and 29 deletions

View file

@ -332,6 +332,9 @@ is about to occur.
* `method` String
* `resourceType` String
* `timestamp` Double
* `uploadData` Array (optional)
* `bytes` Buffer - Content being sent.
* `file` String - Path of file being uploaded.
The `callback` has to be called with an `response` object: