Skip to content

Commit

Permalink
Add hint for on further details for WebSocket (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyNotHugo committed Feb 22, 2023
1 parent 1e2567c commit fa36b49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions axum/src/extract/ws.rs
Expand Up @@ -438,6 +438,8 @@ fn header_contains(headers: &HeaderMap, key: HeaderName, value: &'static str) ->
}

/// A stream of WebSocket messages.
///
/// See [the module level documentation](self) for more details.
#[derive(Debug)]
pub struct WebSocket {
inner: WebSocketStream<Upgraded>,
Expand Down

0 comments on commit fa36b49

Please sign in to comment.