onExtensionResponse()
Availability:
SmartFoxServer Pro
Usage:
smartFox.onExtensionResponse(resObj <propList>, type <String>)
Description:
The event is fired when an extension responds to a client request.
Parameters:
resObj | The propertylist returned contains all the data sent by the server side extension.
By convention a string property called _cmd is always present. The property contains the name of the server action that is responding. |
|
type |
A string. It can be either "xml" or "str" and it indicates which protocol was used for the response. By default xml is used. |
Returns:
nothing
Example:
on onExtensionResponse me, resObj, type cmd = resObj[#_cmd] if cmd = "myCommand" then // Handle the response here end if end
See also: