()
| 151 | } |
| 152 | |
| 153 | pause () { |
| 154 | try { |
| 155 | this.req.pause(); |
| 156 | } catch (err) { |
| 157 | // the stream was destroyed |
| 158 | if (!this.ended) { |
| 159 | // before it was completed, crash & burn |
| 160 | this._error(err); |
| 161 | } |
| 162 | return false; |
| 163 | } |
| 164 | return true; |
| 165 | } |
| 166 | |
| 167 | resume () { |
| 168 | try { |
no test coverage detected