Jesse Gibson e8f8047cb6 Expose websocket events
The Peer "class" now extends EventEmitter. Listening to any websocket
events (e.g., "message", "close", "open", etc.) will not only subscribe
to the current websocket, but all future websockets. This provides a
much needed abstraction, since reconnection replaces the socket, which
would typically destroy your listeners.
2016-11-17 14:07:26 -07:00
..
2016-11-17 14:07:26 -07:00
2016-11-15 16:20:18 -07:00
2016-02-09 16:30:47 -08:00
?
2014-12-18 03:48:01 -07:00
2015-05-29 16:01:00 -07:00
2015-10-15 16:34:30 -07:00
2015-05-29 16:01:00 -07:00
2015-07-03 22:48:38 -07:00
2015-06-19 02:02:15 -07:00
2016-06-01 08:35:55 -07:00
oye
2016-02-15 13:56:23 -08:00