|
@ -706,6 +706,15 @@ The HTTP protocol version as a string. Read only. Examples: |
|
|
Set the encoding for the request body. Either +"utf8"+ or +"raw"+. Defaults |
|
|
Set the encoding for the request body. Either +"utf8"+ or +"raw"+. Defaults |
|
|
to raw. |
|
|
to raw. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+request.pause()+ :: |
|
|
|
|
|
Pauses request from emitting events. Useful to throttle back an upload. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+request.resume()+ :: |
|
|
|
|
|
Resumes a paused request. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+request.connection+ :: |
|
|
+request.connection+ :: |
|
|
The +node.http.Connection+ object. |
|
|
The +node.http.Connection+ object. |
|
|
|
|
|
|
|
@ -891,6 +900,12 @@ After emitted no other events will be emitted on the response. |
|
|
Set the encoding for the response body. Either +"utf8"+ or +"raw"+. |
|
|
Set the encoding for the response body. Either +"utf8"+ or +"raw"+. |
|
|
Defaults to raw. |
|
|
Defaults to raw. |
|
|
|
|
|
|
|
|
|
|
|
+response.pause()+ :: |
|
|
|
|
|
Pauses response from emitting events. Useful to throttle back a download. |
|
|
|
|
|
|
|
|
|
|
|
+response.resume()+ :: |
|
|
|
|
|
Resumes a paused response. |
|
|
|
|
|
|
|
|
+response.client+ :: |
|
|
+response.client+ :: |
|
|
A reference to the +node.http.Client+ that this response belongs to. |
|
|
A reference to the +node.http.Client+ that this response belongs to. |
|
|
|
|
|
|
|
|