We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef05a54 commit d3a1b30Copy full SHA for d3a1b30
ratchet_core/src/lib.rs
@@ -68,8 +68,8 @@ use tokio::io::{AsyncRead, AsyncWrite};
68
pub(crate) type Request = http::Request<()>;
69
70
/// A stream representing a WebSocket connection.
71
-pub trait WebSocketStream: AsyncRead + AsyncWrite + Send + Unpin + 'static {}
72
-impl<S> WebSocketStream for S where S: AsyncRead + AsyncWrite + Send + Unpin + 'static {}
+pub trait WebSocketStream: AsyncRead + AsyncWrite + Send + Unpin {}
+impl<S> WebSocketStream for S where S: AsyncRead + AsyncWrite + Send + Unpin {}
73
74
/// Provides utilities for handling WebSocket handshakes on the server side.
75
///
0 commit comments