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
|
@ -352,6 +352,10 @@ class ClientRequest extends EventEmitter {
|
|||
abort () {
|
||||
this.urlRequest.cancel()
|
||||
}
|
||||
|
||||
getUploadProgress () {
|
||||
return this.urlRequest.getUploadProgress()
|
||||
}
|
||||
}
|
||||
|
||||
function writeAfterEndNT (self, error, callback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue