mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
update deps
This commit is contained in:
@ -3,7 +3,7 @@ use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServ
|
||||
use actix_web_actors::ws;
|
||||
|
||||
async fn ws_index(r: HttpRequest, stream: web::Payload) -> Result<HttpResponse, Error> {
|
||||
ws::start(AutobahnWebSocket::default(), &r, stream)
|
||||
ws::start(AutobahnWebSocket, &r, stream)
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
|
Reference in New Issue
Block a user