Datalayer Desktop - v0.0.2
    Preparing search index...

    Custom WebSocket class that proxies through IPC. Implements the standard WebSocket API while routing traffic through Electron's main process for secure communication.

    Hierarchy

    • EventTarget
      • ProxyWebSocket
    Index

    Constructors

    • Parameters

      • url: string | URL
      • Optionalprotocols: string | string[]
      • Optionalheaders: Record<string, string>
      • OptionalruntimeId: string

      Returns ProxyWebSocket

    Properties

    _eventListenerCleanup: null | (() => void) = null
    _headers: undefined | Record<string, string>
    _id: null | string = null
    _protocol: string
    _readyState: number = ProxyWebSocket.CONNECTING
    _runtimeId: undefined | string
    _url: string
    binaryType: BinaryType = 'blob'
    bufferedAmount: number = 0
    CLOSED: 3
    CLOSING: 2
    CONNECTING: 0
    extensions: string = ''
    onclose: null | ((event: CloseEvent) => void) = null
    onerror: null | ((event: Event) => void) = null
    onmessage: null | ((event: MessageEvent) => void) = null
    onopen: null | ((event: Event) => void) = null
    OPEN: 1
    CLOSED: 3
    CLOSING: 2
    CONNECTING: 0
    OPEN: 1

    Accessors

    Methods