()
| 219 | } |
| 220 | } |
| 221 | private connectSSE() { |
| 222 | this.debugLog('Connecting to SSE server') |
| 223 | this.#eventSource = new EventSource( |
| 224 | `${this.#protocol}://${this.#host}:${this.#port}/__devtools/sse`, |
| 225 | ) |
| 226 | this.#eventSource.onmessage = (e) => { |
| 227 | this.debugLog('Received message from SSE server', e.data) |
| 228 | this.handleEventReceived(e.data) |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | private connectWebSocket() { |
| 233 | this.debugLog('Connecting to WebSocket server') |
no test coverage detected