-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
WebSocket internal implementation refactoring #1021
Conversation
ping = 0x9 | ||
pong = 0xa | ||
close = 0x8 | ||
closed = 20 |
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.
While else numbers are hex-like, why these are not?
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.
Good catch.
Because technically they are not constants defined by RFC but user values.
I'll start them from 0x100 to never clash with future websocket standard updates.
No description provided.