Constructor
new FindRoomsRequest(matchExpr, groupIdopt, limitopt)
Creates a new instance of the FindRoomsRequest 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 | Attributes | Default | Description |
|---|---|---|---|---|
matchExpr | MatchExpression | A matching expression that the system will use to retrieve the Rooms. | ||
groupId | string | <optional> | null | The name of the Group where to search for matching Rooms; if null, the search is performed in the whole Zone. |
limit | number | <optional> | 0 | The maximum size of the list of Rooms that will be returned; if 0, all found Rooms are returned. |