Constructor
new ExtensionAsyncRequest(extCmd, parametersopt, roomopt)
Creates a new instance of the ExtensionAsyncRequest 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 |
|---|---|---|---|---|
extCmd | string | The name of the command which identifies an action that should be executed by the server-side Extension. | ||
parameters | SFSObject | <optional> | null | An object containing custom data to be sent to the Extension; can be null if no data is needed. |
room | SFSRoom | <optional> | null | If null, the specified command is sent to the server-side Extension attached to the currently joined Zone; if not null, the command is sent to the server-side Extension attached to the passed Room. |