| 29 | */ |
| 30 | export function createJsonWebSocketFactory(): typeof WebSocket { |
| 31 | return class extends WebSocket { |
| 32 | constructor(url: string | URL, protocols?: string | string[]) { |
| 33 | const filtered = Array.isArray(protocols) |
| 34 | ? protocols.filter(p => p !== JUPYTER_BINARY_PROTOCOL) |
nothing calls this directly
no outgoing calls
no test coverage detected