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

Incorrect websocket::stream::async_ping/pong handler requirement in documentation #2713

Closed
ecorm opened this issue Aug 9, 2023 · 0 comments · Fixed by #2725
Closed

Incorrect websocket::stream::async_ping/pong handler requirement in documentation #2713

ecorm opened this issue Aug 9, 2023 · 0 comments · Fixed by #2725
Assignees

Comments

@ecorm
Copy link

ecorm commented Aug 9, 2023

Beast Version: 347

The documentation for websocket::stream::async_ping incorrectly specifies the WriteHandler requirement, which takes an error code and size parameters. However, the documentation below shows that the handler should only take an error code parameter.

The same goes for websocket::stream::async_pong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants