()
| 205 | } |
| 206 | |
| 207 | close() { |
| 208 | if (this.outgoing.state === 'open' || this.outgoing.state === 'eof') { |
| 209 | this.outgoing.state = 'closing'; |
| 210 | this._client._protocol.channelClose(this.outgoing.id); |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | destroy() { |
| 215 | this.end(); |
no test coverage detected