{"size": 827, "ext": "js", "max_stars_repo_path": "core/socket/Socket.js", "max_stars_repo_name": "brandontthompson/RESTAPIFramework", "max_stars_repo_stars_event_min_datetime": "2020-09-22T17:29:52.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-22T17:29:52.000Z", "max_issues_repo_path": "core/socket/Socket.js", "max_issues_repo_name": "XhailOrigin/RESTAPIFramework", "max_issues_repo_issues_event_min_datetime": "2020-12-12T01:33:42.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T11:48:20.000Z", "max_forks_repo_path": "core/socket/Socket.js", "max_forks_repo_name": "brandontthompson/RESTAPIFramework", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 21.2051282051, "max_line_length": 56, "alphanum_fraction": 0.4873035067}
// const socket = require('socket.io')();
const Socket = ((server) => {
    return require('socket.io')(server);
});

module.exports = Socket
// const config = require('../../core/config');
// class Socket {

//     constructor(param, sock) {
//         if (!sock)
//             this.sock = new socket();

//         this.sock.use
//     }

//     Create(socketID) {
//         this.sock.join(socketID);
//     }

//     Destroy(callback) {
//         this.sock.close(callback ? callback : null);
//     }

//     Emit(event, callback) {
//         return this.sock.emit(event, callback);
//     }

//     On(event, callback) {
//         return this.sock.on(event, callback);
//     }

//     Clients() {
//         return this.sock.clients();
//     }

// }

// module.exports = Socket;