| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3943,9 +3943,9 @@ the following events will be emitted in the following order: | |||
| 3943 | 3943 | * `'data'` any number of times, on the `res` object | |
| 3944 | 3944 | * (connection closed here) | |
| 3945 | 3945 | * `'aborted'` on the `res` object | |
| 3946 | + * `'close'` | ||
| 3946 | 3947 | * `'error'` on the `res` object with an error with message | |
| 3947 | 3948 | `'Error: aborted'` and code `'ECONNRESET'` | |
| 3948 | - * `'close'` | ||
| 3949 | 3949 | * `'close'` on the `res` object | |
| 3950 | 3950 | ||
| 3951 | 3951 | If `req.destroy()` is called before a socket is assigned, the following | |
@@ -3973,9 +3973,9 @@ events will be emitted in the following order: | |||
| 3973 | 3973 | * `'data'` any number of times, on the `res` object | |
| 3974 | 3974 | * (`req.destroy()` called here) | |
| 3975 | 3975 | * `'aborted'` on the `res` object | |
| 3976 | + * `'close'` | ||
| 3976 | 3977 | * `'error'` on the `res` object with an error with message `'Error: aborted'` | |
| 3977 | 3978 | and code `'ECONNRESET'`, or the error with which `req.destroy()` was called | |
| 3978 | - * `'close'` | ||
| 3979 | 3979 | * `'close'` on the `res` object | |
| 3980 | 3980 | ||
| 3981 | 3981 | If `req.abort()` is called before a socket is assigned, the following | |
| Back | FazBrowse Home | New Git URL |
0 commit comments