watcher-ts/packages/peer
Nabarun Gogoi 91c1c35da8
Maintain connection between relay nodes in federated relay network (#315)
* Maintain connection between relay nodes in federated relay network

* Stop heartbeat check in relay node for disconnected peers

* Add maxDialRetry option in relay node
2023-02-15 18:59:34 +05:30
..
src Maintain connection between relay nodes in federated relay network (#315) 2023-02-15 18:59:34 +05:30
.eslintignore Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
.eslintrc.json Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
.gitignore Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
package.json Add an option to use a domain name for a announce address (#320) 2023-02-15 18:09:21 +05:30
README.md Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
tsconfig.json Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30

peer

Package used for connecting between peers and send messages

Implementations

  • Discover peers
  • Connect between peers and send messages
  • Use package in browser
  • Use package in server
  • Send messages between systems in different LANs using relay node

Known Issues

  • peer:disconnect event is not fired when remote peer browser is closed