(size)
| 1072 | } |
| 1073 | |
| 1074 | _read(size) { |
| 1075 | // Reading the upgrade stream starts the request stream flowing. It's |
| 1076 | // important that this happens, even if there are no listeners, or it |
| 1077 | // would be impossible to read this without explicitly reading all the |
| 1078 | // request body first, which is backward incompatible & awkward. |
| 1079 | this[kIncomingMessage]?.resume(); |
| 1080 | |
| 1081 | this[kSocket].resume(); |
| 1082 | } |
| 1083 | |
| 1084 | _final(callback) { |
| 1085 | this[kSocket].end(callback); |
no test coverage detected