Class DefaultWebSocketAdapter

Adapter for WebSocket implementations

Implements

Constructors

Methods

  • Opens a WebSocket connection to the URL with the given protocols.

    Parameters

    • url: string

      URL to connect to

    • protocols: string[]

      Protocols to send when establishing the connection

    • OptionalisSignedUrl: boolean

      whether the URL is signed

    Returns void