()
| 165 | } |
| 166 | |
| 167 | resume () { |
| 168 | try { |
| 169 | this.req.resume(); |
| 170 | } catch (err) { |
| 171 | // the stream was destroyed |
| 172 | if (!this.ended) { |
| 173 | // before it was completed, crash & burn |
| 174 | this._error(err); |
| 175 | } |
| 176 | return false; |
| 177 | } |
| 178 | |
| 179 | return true; |
| 180 | } |
| 181 | |
| 182 | // returns a promise if no callback is provided |
| 183 | async parse(req, cb) { |
no test coverage detected