2.1.6 • Published 8 years ago
i-pm v2.1.6
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 thei-peer
interface
Implementations
- WebSocket server
peerMachine = require('i-pm/ws')(httpServer,path);