mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +02:00
Update to tower-http 0.4 (#1783)
This commit is contained in:
@@ -23,7 +23,7 @@ use tokio_tungstenite::{
|
||||
};
|
||||
|
||||
const N_CLIENTS: usize = 2; //set to desired number
|
||||
const SERVER: &'static str = "ws://127.0.0.1:3000/ws";
|
||||
const SERVER: &str = "ws://127.0.0.1:3000/ws";
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
||||
Reference in New Issue
Block a user