-
-
Notifications
You must be signed in to change notification settings - Fork 101
feat: websocket reconnect #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mcollina
merged 25 commits into
fastify:main
from
simone-sanfratello:feat/websocket-reconnect
Feb 19, 2025
Merged
Changes from 20 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
584e1f1
wip
simone-sanfratello a8dbdfd
wip
simone-sanfratello 8592261
wip
simone-sanfratello c6071e7
wip
simone-sanfratello b827e9b
wip
simone-sanfratello 54ad7a4
wip
simone-sanfratello 9350edc
wip
simone-sanfratello 7dd97b9
wip
simone-sanfratello b0a3dae
wip
simone-sanfratello ae2a31b
wip
simone-sanfratello 8f9501f
wip
simone-sanfratello 01d02b1
wip
simone-sanfratello e13f2fd
wip
simone-sanfratello ac1225a
feat: websocket reconnection
simone-sanfratello bfaf30a
feat: add onReconnect hook to wsReconnect
simone-sanfratello 51f447d
fix: await onReconnect
simone-sanfratello 78597c6
wip
simone-sanfratello 08d7394
feat: introduce hooks on message
simone-sanfratello 08bcc07
chore: default hooks
simone-sanfratello 83047a9
wip
simone-sanfratello 2610677
wip
simone-sanfratello 15e6ba8
wip
simone-sanfratello bd35703
add tests
simone-sanfratello b0f65c2
add reconnection example
simone-sanfratello 3a51c6c
add params to hooks
simone-sanfratello File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| // TODO | ||
|
Check failure on line 1 in examples/ws-reconnection.js
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.