XMLHTTPCall Object
See Also Example Properties Methods Events
Models an HTTP call used to fetch a document off the web.
Class Diagram

Remarks
The XMLHTTPCall object provides a very versatile set of proprties that can be set to precisely configure a call to an HTTP server.
Using the HostName and HostURI properties or the URL property, the resource to be fetched can be specified.
The HostPort property allows the HTTP port to be configured.
The UserAgent property allows the user agent code/name to be specified.
The HTTPOpenRequestFlags, HTTPVersion, InternetOpenFlags, InternetOpenType and RequestType all allow you to tweak a number of flags used by wininet.dll to handle things like cookies, encryption and the like.
The ConnectTimeOut, SendTimeOut, ReceiveTimeOut and WinInetVersion all allow you to set timeouts.
The Username and Password properties are used to set up HTTP basic authentication.
The ProxyName and ProxyBypass properties are used to set up proxy server details.
After all the parameters of the call are set up using the properties outlined above, any HTTP Headers that are to be sent can be specified with the HeadersToSend property and if any data is to be POSTed then the DataToPost property can be used.
The SubmitRequest method can then be used to submit the request to the remote server. The HeadersReceived property can be used to examine the returned HTTP headers and the DataReturned property can be used to examine the returned data.
Default values defined each time the object is created are as follows:
|