对于actix的websocket的例子一般如下,即用 actix_web_actors::ws::start 来初始化websocket。 struct MyWebSocket{} async fn ws_index(r: ...
確定! 回上一頁