smartsocket/dist/smartsocket.classes.socketconnection.d.ts

15 lines
371 B
TypeScript
Raw Normal View History

2016-08-08 16:20:00 +00:00
/// <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);
}