Skip to content

WebSocket example #1

@df51d

Description

@df51d

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions