Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

manvalls/i-pm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Implementations of the PeerMachine interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published