OdinRoom.join
On this page
public join(gatewayOrServerUrl: string, userData?: Uint8Array): void
Joins the room with the given gateway URL and optional user data.
Parameters
Name | Type | Description |
---|---|---|
gatewayOrServerUrl | string | |
userData | Uint8Array | The user data to send to the room. This can be used to identify the user. |
Returns
Type | Description |
---|---|
void |