-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Implement WebSocketServer Adapter #5866
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. LGTM!
I was supposing that the tests have passed. I've just noticed there are still some failing tests. Let me know if you need any help. |
@davimacedo Can you give it another look? |
Codecov Report
@@ Coverage Diff @@
## master #5866 +/- ##
===========================================
+ Coverage 83.12% 93.67% +10.54%
===========================================
Files 151 153 +2
Lines 10621 10636 +15
===========================================
+ Hits 8829 9963 +1134
+ Misses 1792 673 -1119
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* Implement WebSocketServerAdapter * lint * clean up
This PR allows users to implement their own WebSocketServer to use with Live Query Server.
Good for handling issues such as performance, dealing with faulty connections, handling authentication and authorization, or scalability.
I've added an interface for WSS Adapters. Let me know if anything should be changed or questions
I also created a gist of another WSSAdapter the uses uWebSocket.js.