Documentation - v0.27.0
    Preparing search index...

    Class WebSocketTransport

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • __namedParameters: {
            baseDomain?: string;
            subdomains?: Record<string, string>;
            ws?: WebSocketConstructor;
        } = {}
        • OptionalbaseDomain?: string

          Base WebSocket domain

        • Optionalsubdomains?: Record<string, string>

          Map of sub-domains (key is DC ID, value is string)

        • Optionalws?: WebSocketConstructor

          Custom implementation of WebSocket (e.g. https://npm.im/ws)

      Returns WebSocketTransport

    Methods