mirror of
https://github.com/vale981/doccam-pi
synced 2025-03-05 09:21:40 -05:00
19 lines
859 B
JavaScript
19 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(){}
|