mirror of
https://github.com/actix/examples
synced 2025-06-29 02:10:36 +02:00
Upgrade websocket-chat-broker example to actix V3 and actix-broker 3.1 (#383)
Co-authored-by: Madis Jullinen <mjullinen@twilio.com>
This commit is contained in:
@ -17,7 +17,7 @@ async fn chat_route(
|
||||
ws::start(WsChatSession::default(), &req, stream)
|
||||
}
|
||||
|
||||
#[actix_rt::main]
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
env_logger::from_env(env_logger::Env::default().default_filter_or("info")).init();
|
||||
|
||||
|
Reference in New Issue
Block a user