Hierarchy

  • ConnectOptions

Properties

bakery?: null | Bakery
closeCallback: CloseCallback
debug?: boolean
facades?: (ClassType<Facade> | GenericFacade)[]
oidcEnabled?: boolean
onWSCreated?: ((ws: WebSocket) => void)

Type declaration

    • (ws: WebSocket): void
    • Parameters

      • ws: WebSocket

      Returns void

wsclass?: {
    CLOSED: number;
    CLOSING: number;
    CONNECTING: number;
    OPEN: number;
    prototype: WebSocket;
    new (url: string | URL, protocols?: string | string[]): WebSocket;
}

Type declaration

    • new (url: string | URL, protocols?: string | string[]): WebSocket
    • Parameters

      • url: string | URL
      • Optional protocols: string | string[]

      Returns WebSocket

  • Readonly CLOSED: number
  • Readonly CLOSING: number
  • Readonly CONNECTING: number
  • Readonly OPEN: number
  • prototype: WebSocket

Generated using TypeDoc