TorqueScript Reference
Public Member Functions | List of all members
HTTPObject Class Reference

Inherits TCPObject.

Public Member Functions

void get (TransportAddress addr, string requirstURI, string query=NULL)
 
void post (TransportAddress addr, string requestURI, string query, string post)
 
- Public Member Functions inherited from TCPObject
void connect (addr)
 
void disconnect ()
 
void listen (port)
 
void openAndConnect (string addr)
 
void send (...)
 
String URLEncodeString (string data)
 
- Public Member Functions inherited from SimObject
Integer clone ([copyDynamicFields=false]?)
 
void delete ()
 
Integer getId ()
 
void setName (newName)
 
String getName ()
 
String getClassNamespace ()
 
String getSuperClassNamespace ()
 
void setClassNamespace (nameSpace)
 
void setSuperClassNamespace ()
 
Boolean isMethod (string methodName)
 
String call (methodName, [args]*)
 
void dumpClassHierarchy ()
 
void dump ()
 
Boolean isMemberOfClass (string classname)
 
String getClassName ()
 
String getFieldValue (fieldName)
 
Boolean setFieldValue (fieldName, value)
 
Integer getDynamicFieldCount ()
 
String getDynamicField (index)
 
Integer getFieldCount ()
 
String getField (int index)
 
void setProgenitorFile (file)
 
String getProgenitorFile ()
 
Integer getType ()
 
String getFieldType (fieldName)
 
void setInternalName (string InternalName)
 
String getInternalName ()
 
Boolean isChildOfGroup (groupID)
 
Integer getGroup ()
 
Boolean startTimer (callbackFunction, float timePeriod, [repeat]?)
 
void stopTimer ()
 
Boolean isTimerActive ()
 
Integer schedule (time, command, [arg]*)
 
Boolean save (fileName, [selectedOnly]?)
 
void addFieldFilter (fieldName)
 
void removeFieldFilter (fieldName)
 

Member Function Documentation

void get ( TransportAddress  addr,
string  requirstURI,
string  query = NULL 
)
void post ( TransportAddress  addr,
string  requestURI,
string  query,
string  post 
)