Add hint for on further details for WebSocket (#1779)

This commit is contained in:
Hugo 2023-02-22 13:25:37 +01:00 committed by GitHub
parent 1e2567c39f
commit fa36b49769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>,