-
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
Change/Remove ClientWebSocket ping packet body #110158
Comments
Why do you care whether the extra bytes are sent / what's the motivation to avoid it? |
I am using custom ping/pong on the server and i need custom data in ping message |
// TL;DR: Custom Ping/Pong on the server could only apply to server's Pings, it is fully independent from what the client sends in the client's Pings. @zxcvqwerasdf By RFC, the receiver of a Ping frame MUST echo back the data in the Pong response:
What that means:
|
This issue has been marked |
What sort of information would you want to transmit? |
This issue has been automatically marked |
This issue will now be closed since it had been marked |
As i know, there is no way send ping's with ClientWebSocket directly, only by using
But it's sends integer in body
Can you add feature to do not send ping packet body? Only ping opcode?
Thank you.
The text was updated successfully, but these errors were encountered: