httprequest
Description
Type Tags
None
Object Value
Objects of type httprequest have no value, and it is an error to try to get or set this value.
httprequest.new()
Description
Prototype
httprequest
.new
(
httprequest
,
string me
,
string useragent
,
string content_type
)
protocol
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | httprequest | |
useragent | simpol-httpclientlib/1.0
(http://www.simpol.com) | string | |
content_type | application/x-www-form-urlencoded | string | |
protocol | 1.0 | string |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
entitybody | blob | |
entityheader | httpentityheader | |
generalheader | httpgeneralheader | |
getrequestblob | function | |
protocol | string | |
requestheader | httprequestheader | |
requesttype | string | |
setcookie | function | |
settunnelurl | function | |
tunnelurl | URL | |
type | type | |
url | URL |
Methods
getrequestblob()
Description
Prototype
httprequestvar
.getrequestblob
(
httprequest
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | httprequest |
setcookie()
Description
Prototype
httprequestvar
.setcookie
(
httprequest
,
string me
,
string name
,
string value
,
datetime path
)
expires
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | httprequest | |
name | None | string | |
value | None | string | |
path | None | string | |
expires | None | datetime |
settunnelurl()
Description
Prototype
httprequestvar
.settunnelurl
(
httprequest
,
URL me
)
tunnelurl
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | httprequest | |
tunnelurl | None | URL |