mirror of
https://github.com/vale981/doccam-pi
synced 2025-03-04 17:01:40 -05:00
18 lines
859 B
JavaScript
18 lines
859 B
JavaScript
///////////////////////////////////////////////////////////////////////////////
|
|
// A socket.js wrapper to abstract the communication with the server. //
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
const socketio = require('socket.io-client');
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// Declarations //
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Object oriented `this`.
|
|
let self = false;
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// Code //
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
module.exports = function Communicator(){}
|