A structure for an HTTP Client Request. More...
Public Attributes | |
int | nRequestMethod |
A Request Type. More... | |
string | sTag |
A unique tag for this request. More... | |
string | sHost |
The host domain name/IP address. More... | |
string | sPath |
The path for the url (include the leading /) More... | |
string | sData |
The data being sent. More... | |
int | nContentType |
A Content Type. More... | |
int | nAuthType |
An Authentication Type. More... | |
string | sAuthUserOrToken |
The authentication username or token. More... | |
string | sAuthPassword |
The authentication password (ignored if just using a token) More... | |
int | nPort |
The host port. More... | |
string | sHeaders |
Pipe (|) delimited header pairs, e.g. "User-Agent: My NWNX HTTP Client|Accept: application/vnd.github.v3+json". More... | |
A structure for an HTTP Client Request.
Definition at line 44 of file nwnx_httpclient.nss.
int NWNX_HTTPClient_Request::nRequestMethod |
A Request Type.
Definition at line 46 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sTag |
A unique tag for this request.
Definition at line 47 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sHost |
The host domain name/IP address.
Definition at line 48 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sPath |
The path for the url (include the leading /)
Definition at line 49 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sData |
The data being sent.
Definition at line 50 of file nwnx_httpclient.nss.
int NWNX_HTTPClient_Request::nContentType |
A Content Type.
Definition at line 51 of file nwnx_httpclient.nss.
int NWNX_HTTPClient_Request::nAuthType |
Definition at line 52 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sAuthUserOrToken |
The authentication username or token.
Definition at line 53 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sAuthPassword |
The authentication password (ignored if just using a token)
Definition at line 54 of file nwnx_httpclient.nss.
int NWNX_HTTPClient_Request::nPort |
The host port.
Definition at line 55 of file nwnx_httpclient.nss.
string NWNX_HTTPClient_Request::sHeaders |
Pipe (|) delimited header pairs, e.g. "User-Agent: My NWNX HTTP Client|Accept: application/vnd.github.v3+json".
Definition at line 56 of file nwnx_httpclient.nss.