|
ActionDirector
1.0.0
The action director's cut for rapid actions integration
|
Make an HTTP call to a URL. More...
Classes | |
| class | HTTPVariable |
| HTTP variable. More... | |
Public Types | |
| enum | HTTPMethod { Get, Post } |
Public Member Functions | |
| int | GetResponseCode () |
| string | GetResponseTextBody () |
| override void | Run () |
| override void | Step (float delta) |
Public Attributes | |
| string | url |
| List< HTTPVariable > | variables |
| HTTPMethod | method |
| string | resultText |
| int | resultHTTPCode |
Make an HTTP call to a URL.
This action will create a http request (GET or POST) and retreive the response in the resultText and resultHTTPCode. Variables can be used to post data. NOTE: resultHTTPCode doesn't work using the UNITY_WEBGL build (this may be solve by Unity eventually)
| HTTPMethod ActionDirector.ActionHTTPCall.method |
The request method to use (GET or POST)
| int ActionDirector.ActionHTTPCall.resultHTTPCode |
The HTTP code returned by the request
| string ActionDirector.ActionHTTPCall.resultText |
The result returned by the request as text
| string ActionDirector.ActionHTTPCall.url |
The URL to use for the request
| List<HTTPVariable> ActionDirector.ActionHTTPCall.variables |
The variables to send if the request method is a POST