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

    Interface IRelayConnectedClient

    A client connected to a RelayServer.

    interface IRelayConnectedClient {
        bytesIn: number;
        bytesOut: number;
        id: string;
        name?: string;
        remote?: string;
        socket?: Socket;
    }
    Index
    bytesIn: number

    Total application bytes (decoded message payloads) received from this client, across all data / broadcast / tunnel messages.

    bytesOut: number

    Total application bytes (decoded message payloads) forwarded to this client, across all data / broadcast / tunnel messages.

    id: string

    The server-assigned unique ID of the client.

    name?: string

    A human-chosen name the client advertised via an identify message (e.g. a target ID), so peers can select it. undefined until the client identifies itself.

    remote?: string

    Remote address (host:port) of the underlying socket, when available.

    socket?: Socket

    The underlying socket. May be undefined after the client has disconnected.