[]
Represents a collaboration client for bidirectional communication with the server.
• new Client(url?, options?)
Creates a new collaboration client instance.
| Name | Type |
|---|---|
url? |
string |
options? |
IClientOptions |
• get url(): string
Retrieves the server URL of the client.
string
▸ connect(roomId, options?): Connection
Establishes a connection to a specified room.
| Name | Type | Description |
|---|---|---|
roomId |
string |
The ID of the room to connect to. |
options? |
IConnectOptions |
- |