bolt-internal-sockets

2.0.2 • Public • Published

bolt-internal-sockets

Internal Bolt module used for managing apps' sockets for real time operations.

Installation

$ npm install bolt-internal-sockets

Use

var sockets   = require('bolt-internal-sockets');

var socket = sockets.getSocket("my-app-name");
if (socket) socket.send(JSON.stringify({hello: "world"}));

/bolt-internal-sockets/

    Package Sidebar

    Install

    npm i bolt-internal-sockets

    Weekly Downloads

    9

    Version

    2.0.2

    License

    MIT

    Last publish

    Collaborators

    • chieze-franklin