mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-01 08:56:15 +01:00
Add hint for on further details for WebSocket (#1779)
This commit is contained in:
parent
1e2567c39f
commit
fa36b49769
1 changed files with 2 additions and 0 deletions
|
@ -438,6 +438,8 @@ fn header_contains(headers: &HeaderMap, key: HeaderName, value: &'static str) ->
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A stream of WebSocket messages.
|
/// A stream of WebSocket messages.
|
||||||
|
///
|
||||||
|
/// See [the module level documentation](self) for more details.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct WebSocket {
|
pub struct WebSocket {
|
||||||
inner: WebSocketStream<Upgraded>,
|
inner: WebSocketStream<Upgraded>,
|
||||||
|
|
Loading…
Reference in a new issue