|
The Request Object Methods 1 of 3
$GetHost |
Returns the client IP address.
|
Syntax |
Do REQUEST.$GetHost() Returns cIP
|
cIP
|
character variable that receives the address. |
$GetMethod |
Returns the request method.
|
Syntax |
Do REQUEST.$GetMethod() Returns cMethod
|
cMethod
|
character variable that receives the method. |
$GetURI |
Returns the request URI. |
Syntax |
Do REQUEST.$GetURI() Returns cURI
|
cURI
|
character variable that receives the URI. |
$GetVersion |
Returns the request HTTP version.
|
Syntax |
Do REQUEST.$GetVersion() Returns cVersion
|
cVersion
|
character variable that receives the version.. |
$GetHeader |
Returns the value of a specified request header field.
|
Syntax |
Do REQUEST.$GetHeader(cName,cValue) Returns #F
|
cName
|
character - the header field name. |
cValue |
character variable that receives the field value. |
#F |
true if the named header field exists, false if not found. |
$GetHeaderList |
Returns a list of request header fields.
|
Syntax |
Do REQUEST.$GetHeaderList(lHeaders)
|
lHeaders
|
ist variable that receives the headers. |
Notes |
lHeaders contains two columns named LABEL and VALUE. |
|