Constructor
new ChangeRoomNameRequest(room, newName)
Creates a new instance of the ChangeRoomNameRequest class.
Pass the instance to the SmartFox#send method to validate and execute the request.
Pass the instance to the SmartFox#send method to validate and execute the request.
Parameters:
| Name | Type | Description |
|---|---|---|
room | SFSRoom | The object representing the Room whose name should be changed. |
newName | string | The new name of the Room. |