Interface Client

Keeps information about the connected clients

interface Client {
    id: string;
    name?: string;
    peers: string[];
    socket?: WebSocket;
}

Properties

Properties

id: string
name?: string
peers: string[]
socket?: WebSocket