I have trouble setting up simple websocket example, it panics with an error when calling on_upgrade:
there is no reactor running, must be called from the context of a Tokio 1.x runtime
Because axum tries to use tokio::spawn when upgrading. An example would be much appreciated.
I have trouble setting up simple websocket example, it panics with an error when calling on_upgrade:
Because axum tries to use tokio::spawn when upgrading. An example would be much appreciated.