smartsocket/dist/smartsocket.classes.socketconnection.d.ts
2016-08-08 18:20:00 +02:00

15 lines
371 B
TypeScript

/// <reference types="socket.io" />
export interface ISocketConnectionOptions {
alias?: string;
authenticated: boolean;
role?: string;
socket: SocketIO.Socket;
}
export declare class SocketConnection {
alias?: string;
authenticated: boolean;
role?: string;
socket: SocketIO.Socket;
constructor(optionsArg: ISocketConnectionOptions);
}