Creation/Dev/GScript/Requesthttp: Difference between revisions

From Graal Bible
(Added requesturl-comment)
(Stylizing)
Line 15: Line 15:
{{doctitle|Decription}}
{{doctitle|Decription}}


Function; sends an HTTP request to a server and returns information about the file that was requested. It is identical to calling requesturl("http://" @ host @ ":" @ port @ file).
Function; sends an HTTP request to a server and returns information about the file that was requested. It is identical to calling requesturl("http://" @ {{graycourier|host}} @ ":" @ {{graycourier|port}} @ {{graycourier|file}}).

Revision as of 23:01, 26 August 2006

Usage

requesthttp(host, port, file)


Parameters

host The name of the host server from which to make the HTTP request.
port The port in which to issue the request.
file The path and filename of the file being requested.


Returns

A THTTPRequest object.


Decription

Function; sends an HTTP request to a server and returns information about the file that was requested. It is identical to calling requesturl("http://" @ host @ ":" @ port @ file).