Private_ event Listener Cleanup
_eventListenerCleanup : (() => void ) | null = null
_headers : Record < string , string > | undefined
Private_ id
_id : string | null = null
Private_ protocol
_protocol : string
Private_ ready State
_readyState : number = ProxyWebSocket.CONNECTING
Private_ runtime Id
_runtimeId : string | undefined
binary Type
binaryType : BinaryType = 'blob'
buffered Amount
bufferedAmount : number = 0
ReadonlyCLOSING
CLOSING : 2
ReadonlyCONNECTING
CONNECTING : 0
extensions
extensions : string = ''
onclose
onclose : (( event : CloseEvent ) => void ) | null = null
onerror
onerror : (( event : Event ) => void ) | null = null
onmessage
onmessage : (( event : MessageEvent ) => void ) | null = null
onopen
onopen : (( event : Event ) => void ) | null = null
Static ReadonlyCLOSED
CLOSED : 3
Static ReadonlyCLOSING
CLOSING : 2
Static ReadonlyCONNECTING
CONNECTING : 0
Static ReadonlyOPEN
OPEN : 1
Custom WebSocket class that proxies through IPC. Implements the standard WebSocket API while routing traffic through Electron's main process for secure communication.