Creation/Dev/Script/Client/THTTPRequest: Difference between revisions

From Graal Bible
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=THTTPRequest=
[[Category:Scripting Reference]]
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]]
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]]


==Variables==
=Variables=
<table border="1" cellpadding="4">
{| border="1" cellpadding="2" width="100%"
<tr>
| '''Name'''
<td>Name</td>
| '''Type'''
<td>Type</td>
| '''Description'''
<td>Description</td>
|-
</tr>
| address
<tr>
| string (read only)
<td>address</td>
| Address of the the server
<td>string (read only)</td>
|-
<td>address of the requested server</td>
| contentlanguage
</tr>
| string (read only)
<tr>
| Content language of the file
<td>contentlanguage</td>
|-
<td>string (read only)</td>
| contenttype
<td>content language</td>
| string (read only)
</tr>
| Content type of the file (eg: text/html)
<tr>
|-
<td>contenttype</td>
| data
<td>string (read only)</td>
| array of strings
<td>content type (eg: text/html)</td>
| The downloaded data (without header) which is accessible once the download is completed
</tr>
|-
<tr>
| downloadcomplete
<td>downloadcomplete</td>
| boolean (read only)
<td>boolean (read only)</td>
| Whether the file download has completed
<td>download is completed</td>
|-
</tr>
| file
<tr>
| string (read only)
<td>file</td>
| File name of URL
<td>string (read only)</td>
|-
<td>file name of requested URL</td>
| fulldata
</tr>
| string (read only)
<tr>
| File data including HTTP headers
<td>fulldata</td>
|-
<td>string (read only)</td>
| lastmodified
<td>file data including HTTP headers</td>
| string (read only)
</tr>
| Last modified info (eg: time, date) for file
<tr>
|-
<td>lastmodified</td>
| port
<td>string (read only)</td>
| integer (read only)
<td>last modified info for file</td>
| Port of the server
</tr>
|-
<tr>
| returncode
<td>port</td>
| integer (read only)
<td>integer (read only)</td>
| HTTP return code (eg: 200)
<td>port of the requested server</td>
|-
</tr>
| returnmessage
<tr>
| string (read only)
<td>returncode</td>
| HTTP return message (eg: OK)
<td>integer (read only)</td>
|-
<td>HTTP return code (eg: 200)</td>
| server
</tr>
| string (read only)
<tr>
| Server version/build
<td>returnmessage</td>
|-
<td>string (read only)</td>
| url
<td>HTTP return message (eg: OK)</td>
| string (read only)
</tr>
| URL of the server
<tr>
|}
<td>server</td>
<td>string (read only)</td>
<td>requested server version</td>
</tr>
</table>

Latest revision as of 10:23, 16 February 2010

Inherits TGraalVar

Variables

Name Type Description
address string (read only) Address of the the server
contentlanguage string (read only) Content language of the file
contenttype string (read only) Content type of the file (eg: text/html)
data array of strings The downloaded data (without header) which is accessible once the download is completed
downloadcomplete boolean (read only) Whether the file download has completed
file string (read only) File name of URL
fulldata string (read only) File data including HTTP headers
lastmodified string (read only) Last modified info (eg: time, date) for file
port integer (read only) Port of the server
returncode integer (read only) HTTP return code (eg: 200)
returnmessage string (read only) HTTP return message (eg: OK)
server string (read only) Server version/build
url string (read only) URL of the server