i-pm

2.1.6 • Public • Published

PeerMachine

Interface

An object implements the PeerMachine interface if it:

  • Inherits from y-emitter Target
  • Has been initialized by the y-emitter Target's constructor
  • Fires a 'peer' event when a new peer connects, with an object which satisfies the i-peer interface

Implementations

  • WebSocket server
peerMachine = require('i-pm/ws')(httpServer,path);

Readme

Keywords

none

Package Sidebar

Install

npm i i-pm

Weekly Downloads

13

Version

2.1.6

License

Apache-2.0

Last publish

Collaborators

  • manvalls