Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OpenOptions<Ctx>

Connection options supplied to Client.open

The only required option is fetchConnectionMetadata, all others are optional and will use defaults.

Type parameters

  • Ctx

Hierarchy

  • Partial<ConnectOptions<Ctx>>
    • OpenOptions

Index

Properties

WebSocketClass?: { CLOSED: number; CLOSING: number; CONNECTING: number; OPEN: number; prototype: WebSocket }

Type declaration

  • Readonly CLOSED: number
  • Readonly CLOSING: number
  • Readonly CONNECTING: number
  • Readonly OPEN: number
  • prototype: WebSocket
context: Ctx
pollingHost?: string
reuseConnectionMetadata?: boolean
timeout?: null | number
urlOptions?: UrlOptions

Methods

Generated using TypeDoc