Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ Disconnect
Class
Disconnect
websockets/chat/src/server.rs:33–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
#[derive(Message)]
32
#[rtype(result =
"()"
)]
33
pub struct Disconnect {
34
pub id: u64,
35
}
36
37
/// Send message to specific room
38
#[derive(Message)]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected