Defined in file: hzHttpClient.h

Automatic syncing or downloading from a website is effected by executing a series of steps or commands. Each command is parameterized by a hzWebCMD class instance. The hzHttpClient class enables programs to operate as HTTP clients (e.g. webbots). It consists of a hzTcpClient, a set of cookies and a set of values derived from browsing As a minimum, the hzWebCMD must contain a URL and a HTTP command such as GET. If the required action is to POST a form then the URL and the command must be accompanied by a series of one or more name-value pairs serving as the form data. Note that the hzWebCMD can also specify recursive downloading.

Constructors/Detructors

hzWebCMD*hzWebCMD(void)
void~hzWebCMD(void)

Public Methods:

voidClear(void)

Overloaded operators:

hzWebCMD&operator=(hzWebCMD& op)

Member Variables:

webcmdm_CmdThe command to execute
hzStringm_CritThis concerns the (globing) form the link (URL) must take in order to qualify for download.
uint32_tm_FlagsReserved
hzList<hzPair>m_FormdataList of name value pairs to submit to the site's login form (given as m_Authpage see below)
hzStringm_InputsList of pages to fetch (input list)
hzStringm_OutputName of object, eg form or list of links (if applicable)
hzStringm_SlctThis creates a set of nodes based on tagname and attributes
hzUrlm_UrlPage to fetch