This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- impl RpcClient reconnection - add ServerMsg::RpcSettings and its sending/processing - add Room.on_connection_loss callback which fires when RpcClient loses connection - add ReconnectHandle for JS side to start reconnection - impl reconnection with backoff and simple reconnection with a constant retry delay - add connection loss notification with button for manual reconnection to 'e2e-demo' app - add WebSocket connection state indicator to 'demo' app - remove RpcTransport::on_close and use RpcTransport::on_state_change instead Additionally: - rewrite 'satisfies_by_device_id!' and 'console_error!' macros as functions - remove 'weak_map!' macro and add 'upgrade_or_detached!' instead - add 'new_js_error!' macro for creating JasonError with 'tracerr' information for JS side - reverse ping/pong mechanism: server sends Ping and expects Pong from client - add 'rpc.ping_interval' configuration option for Medea - use 'fakerator' instead of 'faker' for generating random male usernames in demos
- Loading branch information
1 parent
75a4718
commit 73673fb
Showing
43 changed files
with
2,587 additions
and
1,054 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.