Open df51d opened 1 week ago
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.
Support for this would need to be added to smol-axum.
smol-axum
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.