foglet-signaling-server
v1.0.3
Published
It's a simple singaling server
Downloads
864
Maintainers
Readme
Foglet - Signaling Server
Keywords: Simple Signaling server, foglet-core
This project aims to provide a simple signaling server for foglet-libs and a support for karma in order to not rewrite the signaling server each time
Install
npm install foglet-signaling-server
Usage
To run the signaling server,
cd foglet-signaling-server
npm install
npm start
To use the server with karma
const signaling = require('foglet-signaling-server');
module.exports = function (config) {
config.set({
...
expressHttpServer: {
port:4001,
appVisitor: signaling
}
})
};