simple-tcp-to-wss - v1.0.0
    Preparing search index...

    Interface SocketClient

    SocketClient

    interface SocketClient {
        id: string;
        lastActivity: number;
        socket: WebSocket;
        subscriptions: Map<string, Set<string>>;
    }
    Index

    Properties

    id: string

    Unique identifier for the client.

    lastActivity: number

    Timestamp of the client's last activity.

    socket: WebSocket

    The WebSocket instance for the client.

    subscriptions: Map<string, Set<string>>

    Map of event names to sets of subscription IDs.