helpers
library
Functions
-
deploySchema({required RoomClient room, required MeshSchema schema, required String name, bool overwrite = true})
→ Future<void>
-
Deploy schema to the room’s storage.
-
meshagentBaseUrl([String? baseUrl])
→ String
-
Return the base URL for meshagent, checking environment variables first.
-
participantToken({required String participantName, required String roomName, String? role})
→ ParticipantToken
-
Create a participant token, requires environment variables to be set.
-
websocketProtocol({required String participantName, required String roomName, String? role})
→ WebSocketClientProtocol
-
Create a WebSocket protocol instance for the given participant and room.
-
websocketRoomUrl({required String roomName, String? baseUrl})
→ Uri
-
Construct the WebSocket URL for a room.