* Closes the connection, if any, and sets the readyState attribute to * CLOSED.
()
| 19032 | if (this.checkBOM) { |
| 19033 | if (this.handleBOM()) { |
| 19034 | callback(); |
| 19035 | return; |
| 19036 | } |
| 19037 | } |
| 19038 | while (this.hasCurrentByte()) { |
| 19039 | const byte = this.currentByte(); |
| 19040 | if (this.eventEndCheck) { |
| 19041 | if (this.crlfCheck) { |
| 19042 | if (byte === LF) { |
| 19043 | this.crlfCheck = false; |
| 19044 | this.consumeCurrentByte(); |
nothing calls this directly
no test coverage detected