teleproto - v1.230.0
    Preparing search index...

    Interface WebProxyOptions

    Experimental native transport for the tproxy-server reference bootstrap; no WebView or provider JavaScript.

    interface WebProxyOptions {
        connectTimeoutMs?: number;
        maxStreams?: number;
        requestTimeoutMs?: number;
        secret: string;
        server: string;
        webSocket?: new (
            url: string,
            protocols: string | string[],
        ) => WebProxyWebSocket;
    }
    Index
    connectTimeoutMs?: number

    Total relay startup deadline in milliseconds. Defaults to 30000.

    maxStreams?: number
    requestTimeoutMs?: number

    HTTP operation and retry deadline in milliseconds. Defaults to 90000.

    secret: string
    server: string

    Relay hostname, optionally followed by a base path; HTTPS port 443 is used.

    webSocket?: new (url: string, protocols: string | string[]) => WebProxyWebSocket

    Optional WebSocket constructor for websocket relay profiles on Node.js 18/20.