Skip to main content

Module server

Module server 

Source

Structs§

AccessCode
A code you own: a room you shared, or a file link.
Presence
PresencePatch
Partial<{ position, status }> in the TypeScript SDK.
Room
RoomSocket
A room’s WebSocket, as room.ws hands it out in the TypeScript SDK.

Enums§

Authorization

Traits§

Hooks
Room lifecycle hooks. Every method defaults to a no-op, like the optional members of the TypeScript Hooks object. Rust can’t return a Room subclass from create_room, so wrappers capture the base room there instead.

Functions§

connect
list_access_codes
The access codes you own, the one that lasts longest first: your room shares and file links, and the ones you made for your groups.
revoke_access_code
Revoke one of your access codes. It stops working at once; anyone in a room with it is disconnected.