feat: add getUploadProgress API to the net API (#13783)
This commit is contained in:
parent
c8dc2d3730
commit
4b3011f3e8
6 changed files with 45 additions and 0 deletions
|
@ -112,6 +112,7 @@ class URLRequest : public mate::EventEmitter<URLRequest> {
|
|||
void OnResponseData(scoped_refptr<const net::IOBufferWithSize> data);
|
||||
void OnResponseCompleted();
|
||||
void OnError(const std::string& error, bool isRequestError);
|
||||
mate::Dictionary GetUploadProgress(v8::Isolate* isolate);
|
||||
|
||||
protected:
|
||||
explicit URLRequest(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue