MCPcopy Create free account
hub / github.com/actix/examples / Join

Class Join

websockets/chat/src/server.rs:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57#[derive(Message)]
58#[rtype(result = "()")]
59pub struct Join {
60 /// Client ID
61 pub id: u64,
62
63 /// Room name
64 pub name: String,
65}
66
67/// `ChatServer` manages chat rooms and responsible for coordinating chat session.
68///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected