[go: nahoru, domu]

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

Add docs for ping handling #839

Merged
merged 5 commits into from
Jun 15, 2021
Merged

Add docs for ping handling #839

merged 5 commits into from
Jun 15, 2021

Conversation

0xdeafbeef
Copy link
Contributor

It's super confusing, that we should manually poll rx part of the socket to make pings handled automatically.

@jxs
Copy link
Collaborator
jxs commented Jun 10, 2021

Hi, and thanks for the submission. I think this is rather implicit by the poll nature of Rust's futures. If you don't poll to read, there's no way tungstenite can reply. wdyt about rephrasing the note more like that?

@jxs jxs added the waiting-on-author awaiting some action (such as code changes) from the PR or issue author. label Jun 10, 2021
src/filters/ws.rs Outdated Show resolved Hide resolved
src/filters/ws.rs Outdated Show resolved Hide resolved
@jxs jxs merged commit 676d83f into seanmonstar:master Jun 15, 2021
@jxs
Copy link
Collaborator
jxs commented Jun 15, 2021

thanks!

@jxs jxs removed the waiting-on-author awaiting some action (such as code changes) from the PR or issue author. label Jun 25, 2021
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 this pull request may close these issues.

2 participants