kaven-utils - v6.1.9
    Preparing search index...

    Interface IRelayTunnelOptions

    Options accepted by RelayTunnel.

    interface IRelayTunnelOptions {
        client: RelayClient;
        peerId: string;
        proxyTypes?: RelayProxyType[];
        target?: string | IHostPort;
    }
    Index
    client: RelayClient

    The relay client used to exchange tunnel messages with the peer.

    peerId: string

    ID of the relay client on the other end of the tunnel.

    proxyTypes?: RelayProxyType[]

    Proxy protocols accepted by the listener. The protocol is detected independently for every incoming connection.

    target?: string | IHostPort

    Fixed destination for raw forwarding, in the form host:port or an IHostPort object. Omit it when each tunnel request supplies its own destination, as in HTTP-proxy mode.