1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

update deps

This commit is contained in:
Rob Ede
2023-07-08 18:51:57 +01:00
parent ce10427457
commit 7b865c6aed
4 changed files with 641 additions and 572 deletions

View File

@ -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)]