interface AuthenticatedSocket {
    data: {
        lectureid?: string;
        unsubscribeLecture?: () => void;
        userId?: string;
    };
    user?: any;
}

Hierarchy

  • Socket
    • AuthenticatedSocket

Properties

Properties

data: { lectureid?: string; unsubscribeLecture?: () => void; userId?: string }

Additional information that can be attached to the Socket instance and which will be used in the Server.fetchSockets() method.

user?: any