ActionDirector  1.0.0
The action director's cut for rapid actions integration
ActionDirector.ActionHTTPCall Class Reference

Make an HTTP call to a URL. More...

Inheritance diagram for ActionDirector.ActionHTTPCall:

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< HTTPVariablevariables
 
HTTPMethod method
 
string resultText
 
int resultHTTPCode
 

Detailed Description

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)

Member Data Documentation

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


The documentation for this class was generated from the following file: