()
| 455 | this.#onWritable(this.#writable); |
| 456 | } |
| 457 | #next() { |
| 458 | this.#current = this.#requests.shift(); |
| 459 | if (!this.#current) |
| 460 | return; |
| 461 | |
| 462 | this.#line = undefined; |
| 463 | this.#pendingWrite = undefined; |
| 464 | this.#state = "sendRequest"; |
| 465 | this.#headers = (this.#current.headers ?? new Map).entries(); |
| 466 | this.#remaining = undefined; |
| 467 | this.#chunk = undefined; |
| 468 | this.#requestBody = false; |
| 469 | } |
| 470 | #write(data, options) { |
| 471 | this.#writable = this.#socket.write(data, options); |
| 472 | } |
no outgoing calls
no test coverage detected