a few lines in between classes
This commit is contained in:
parent
bb9fe7aec0
commit
a4b1902fa5
3 changed files with 43 additions and 7 deletions
|
|
@ -65,7 +65,9 @@ async fn handle_http_connection(
|
|||
}
|
||||
}
|
||||
["websocket"] => {
|
||||
return Ok(Some(WebsocketConnection::initialize_connection(req)?));
|
||||
return Ok(Some(WebsocketConnection::initialize_connection(
|
||||
req, stream,
|
||||
)?));
|
||||
}
|
||||
[] => Response::new()
|
||||
.with_code(ResponseCode::PermanentRedirect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue