Script API - v1.26.20.26
    Preparing search index...

    Used to manage WebSocket connections.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • uri: string

        URL to make connection to.

      Returns Promise<WebSocketClient>

      An awaitable promise that contains the WebSocket client that was connected.

      Attempts to connect a WebSocket client.

      This function can't be called in restricted-execution mode.

      This function can't be called in early-execution mode.