Partial snipe.server.ServerGame
emulation for action scripts.
It is available only on Snipe Kit server.
Adds a debug message to project logs. Debug messages are not logged in production.
Parameters:
s
Log message.
urlRequest (url:String, method:String, params:Dynamic, ?responseAction:String, ?responseParams:Dynamic):Void
Wrapper on top of snipe.server.URLRequester.send()
.
Parameters:
url
URL string.
method
HTTP request method, "get" or "post".
params
HTTP request parameters object.
If the object contains field "_postData" (String), it will be used to set POST request data.
If the object contains field "_headers" (Map
responseAction
(optional) Response handler kit action (Custom type). The params variable in this action will have "response" string field defined.
responseParams
(optional) Additional response handler parameters.