feat: add getUploadProgress API to the net API (#14446)

This commit is contained in:
trop[bot] 2018-09-04 12:26:50 -05:00 committed by Charles Kerr
parent ce592a5705
commit 89a6f1efbb
6 changed files with 45 additions and 0 deletions

View file

@ -352,6 +352,10 @@ class ClientRequest extends EventEmitter {
abort () {
this.urlRequest.cancel()
}
getUploadProgress () {
return this.urlRequest.getUploadProgress()
}
}
function writeAfterEndNT (self, error, callback) {