"use strict";
class ClientManager {
    constructor(data, ws) {
        this.ws = ws;
        this.client(data);
    }
    client(data) {
        if (data.site) {
            console.log('legit: ' + data.site);
        }
        else {
            console.log('no client type designated, socket disconnect.');
            this.ws.close();
        }
    }
}
;
module.exports = ClientManager;
// user_type: 'user', user_id: 125, site: 'mhs' }
//# sourceMappingURL=clientManager.js.map