NWNX:EE  8193.36.12
NWNX_HTTPClient_Request Struct Reference

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...
 

Detailed Description

A structure for an HTTP Client Request.

Definition at line 44 of file nwnx_httpclient.nss.

Member Data Documentation

◆ nRequestMethod

int NWNX_HTTPClient_Request::nRequestMethod

A Request Type.

Definition at line 46 of file nwnx_httpclient.nss.

◆ sTag

string NWNX_HTTPClient_Request::sTag

A unique tag for this request.

Definition at line 47 of file nwnx_httpclient.nss.

◆ sHost

string NWNX_HTTPClient_Request::sHost

The host domain name/IP address.

Definition at line 48 of file nwnx_httpclient.nss.

◆ sPath

string NWNX_HTTPClient_Request::sPath

The path for the url (include the leading /)

Definition at line 49 of file nwnx_httpclient.nss.

◆ sData

string NWNX_HTTPClient_Request::sData

The data being sent.

Definition at line 50 of file nwnx_httpclient.nss.

◆ nContentType

int NWNX_HTTPClient_Request::nContentType

A Content Type.

Definition at line 51 of file nwnx_httpclient.nss.

◆ nAuthType

int NWNX_HTTPClient_Request::nAuthType

An Authentication Type.

Definition at line 52 of file nwnx_httpclient.nss.

◆ sAuthUserOrToken

string NWNX_HTTPClient_Request::sAuthUserOrToken

The authentication username or token.

Definition at line 53 of file nwnx_httpclient.nss.

◆ sAuthPassword

string NWNX_HTTPClient_Request::sAuthPassword

The authentication password (ignored if just using a token)

Definition at line 54 of file nwnx_httpclient.nss.

◆ nPort

int NWNX_HTTPClient_Request::nPort

The host port.

Definition at line 55 of file nwnx_httpclient.nss.

◆ sHeaders

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.


The documentation for this struct was generated from the following file: