WebRequest¶
Class in IpDrv · IpDrv.WebRequest · native
Object › WebRequest
Using it from Lua
Enums¶
ERequestType
Request_GET = 0, Request_POST = 1
Properties¶
| Name | Type | Notes |
|---|---|---|
ContentLength | int | |
ContentType | string | |
HeaderMap | Map_Mirror | const, native, private |
Password | string | |
RemoteAddr | string | |
RequestType | ERequestType | |
URI | string | |
UserName | string | no declaration: type is approximate |
VariableMap | Map_Mirror | const, native, private |
Functions¶
| Name | Declaration |
|---|---|
AddHeader | final native function AddHeader(string HeaderName, coerce string Value) |
AddVariable | final native function AddVariable(string VariableName, coerce string Value) |
DecodeBase64 | final native function string DecodeBase64(string Encoded) |
DecodeFormData | function DecodeFormData(string Data) |
Dump | final native function Dump() |
EncodeBase64 | final native function string EncodeBase64(string Decoded) |
GetHeader | final native function string GetHeader(string HeaderName, optional string DefaultValue) |
GetHeaders | final native function GetHeaders(out array |
GetHexDigit | function int GetHexDigit(string D) |
GetVariable | final native function string GetVariable(string VariableName, optional string DefaultValue) |
GetVariableCount | final native function int GetVariableCount(string VariableName) |
GetVariableNumber | final native function string GetVariableNumber(string VariableName, int Number, optional string DefaultValue) |
GetVariables | final native function GetVariables(out array |
ProcessHeaderString | function ProcessHeaderString(string S) |
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |