Skip to content
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

[DEV-11497] Socket connection management #8

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
46ed4e3
Removes unused PhoenixRawSocket
kpsroka Aug 6, 2024
a394dfb
Revamp of the PhoenixSocket library.
kpsroka Aug 6, 2024
3722cec
Simplify and correct
kpsroka Aug 7, 2024
3788e7c
Improves heartbeat handling
kpsroka Aug 7, 2024
26b0ba7
Final touches (lots of them)
kpsroka Aug 7, 2024
dd00743
Even more improvements!
kpsroka Aug 8, 2024
2824513
Simplify, document, and improve
kpsroka Aug 8, 2024
f639b9b
Merge branch 'master' into nextgen
kpsroka Aug 8, 2024
335b233
More simplification
kpsroka Aug 8, 2024
d4bf5df
Reverting unncessary pubspec change
kpsroka Aug 8, 2024
f9def19
Fixing lastState bug.
kpsroka Aug 8, 2024
451a6a7
Simplification+name adjustments
kpsroka Aug 13, 2024
25fa1da
add timeout to websocket connection and socket heartbeat (#86)
Neelansh-ns Aug 13, 2024
2562f10
Some initial tests for SocketConnectionManager
kpsroka Aug 13, 2024
21b603f
Renames _isConnected to _isOpen
kpsroka Aug 13, 2024
758bac5
Adds more comments
kpsroka Aug 13, 2024
be87621
Fixing some tests
kpsroka Aug 13, 2024
eeab8de
Fixes: test fixes
kpsroka Aug 14, 2024
da93bc5
Isolating setups in SocketConnectionTest
kpsroka Aug 14, 2024
6c27b0e
Closes _socketStateStream in PhoenixSocket.dispose()
kpsroka Aug 14, 2024
aaf981b
Restructures SocketConnectionAttempt
kpsroka Aug 14, 2024
0d6ba23
Renames socket states
kpsroka Aug 14, 2024
5e61293
Removes rescheduling of heartbeat on message sent.
kpsroka Aug 14, 2024
0c7464a
Rewrites addMessage for clarity.
kpsroka Aug 14, 2024
cb56172
s/timout/timeout/
kpsroka Aug 14, 2024
893d60b
Awaits on heartbeat message to catch cases where sendMessage would th…
kpsroka Aug 14, 2024
ca28589
Makes integration tests more appopriate
kpsroka Aug 14, 2024
1b934cd
Updates comment on WebSocketConnectionState.
kpsroka Aug 14, 2024
0e9637f
Minor improvements
kpsroka Aug 14, 2024
eb8ada3
Removes unnecessary 4000 code
kpsroka Aug 14, 2024
9468fac
isConnected -> isOpen
kpsroka Aug 14, 2024
f1ff37a
Makes _currentAttempt nullable
kpsroka Aug 14, 2024
a10ca41
Removing one await
kpsroka Aug 14, 2024
069b56b
Joins two if clauses
kpsroka Aug 14, 2024
466875c
Restructuring lifetime
kpsroka Aug 19, 2024
30a397e
Updates comments
kpsroka Aug 20, 2024
77a41bb
Refactors PhoenixSocket.sendMessage to get better control over heartbeat
kpsroka Aug 21, 2024
9ecf278
Avoids unnecessary _maybeConnect() in SocketConnectionManager.start()
kpsroka Aug 21, 2024
bcafd10
Updates mocks
kpsroka Aug 21, 2024
4d96d47
Merge branch 'master' into nextgen
kpsroka Aug 22, 2024
1e14a29
Small improvements in PhoenixException
kpsroka Aug 27, 2024
b8e69b8
Fixes order of operation on socket close
kpsroka Aug 27, 2024
dd7208e
Adds timeout to ws.ready
kpsroka Aug 27, 2024
64bce8b
Avoids duplicating close events
kpsroka Aug 27, 2024
5892858
Fixing PhoenixSocket's close/dispose
kpsroka Aug 27, 2024
79c0e99
Updates tearDown in channel_integration_tests.dart
kpsroka Aug 27, 2024
aac862f
Removes obsolete tests
kpsroka Aug 27, 2024
f2aab67
Updates mocks
kpsroka Aug 27, 2024
bb46924
Replaces MockPhoenixSocketOptions with actual object
kpsroka Aug 27, 2024
b96c2d5
Adding socket.dispose to integration tests, fixing one test
kpsroka Aug 27, 2024
97cfb6f
Updates range of DelayedCallback._id to be JS-compatible
kpsroka Aug 30, 2024
f633357
Makes failed heartbeat not attempt to reconnect after ConnectionManag…
kpsroka Sep 4, 2024
d87e620
Makes tests run non-concurrently
kpsroka Sep 4, 2024
28b0006
Merge pull request #10 from superlistapp/fix/dev-11757-stateerror-bad…
kpsroka Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/phoenix_socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ export 'src/message.dart';
export 'src/message_serializer.dart';
export 'src/presence.dart';
export 'src/push.dart';
export 'src/raw_socket.dart';
export 'src/socket.dart';
export 'src/socket_options.dart';
27 changes: 0 additions & 27 deletions lib/src/raw_socket.dart

This file was deleted.

Loading
Loading