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 hint for on further details for WebSocket #1779

Merged
merged 1 commit into from Feb 22, 2023

Conversation

WhyNotHugo
Copy link
Contributor

Motivation

I actually had a hard time figuring out the WebSocket API. I noticed in the examples that split is used and was going to leave a reference to it in the documentation.

While editing ws.rs, I noticed other mentions of split and finally noticed that there was more documentation on the WebSocket in the module level docs.

Solution

Leave a hint on where to find more information for the WebSocket. Hopefully this'll help the next lost soul find their way around better.

axum/src/extract/ws.rs Outdated Show resolved Hide resolved
Copy link
Member

@davidpdrsn davidpdrsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@davidpdrsn davidpdrsn enabled auto-merge (squash) February 22, 2023 12:17
@davidpdrsn davidpdrsn merged commit fa36b49 into tokio-rs:main Feb 22, 2023
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.

None yet

2 participants