Skip to content

Commit

Permalink
feat(http): support websocket server
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Aug 7, 2024
1 parent e8dc558 commit f6ab717
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions volo-http/src/server/utils/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,7 @@ mod websocket_tests {
where
R: IntoClientRequest + Unpin,
Fut: Future<Output = ServerResponse> + Send + 'static,
C: FnOnce(WebSocketUpgrade) -> Fut + Send + 'static,
C: Send + Sync + Clone,
C: FnOnce(WebSocketUpgrade) -> Fut + Send + Sync + Clone + 'static,
{
let app = Router::new().route("/echo", get(handler));

Expand Down

0 comments on commit f6ab717

Please sign in to comment.