|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the CInternetHTTP class
|
|
ConnectHandle
|
Property
|
Get the connection handle
|
|
DLLVersionMajor
|
Property
|
Get the major version number of the the WinInet.DLL library
|
|
DLLVersionMinor
|
Property
|
Get the minor version number of the the WinInet.DLL library
|
|
HTTPRequestHandle
|
Property
|
Gets the HTTPRequest Handle
|
|
OptionBufferLen
|
Property
|
Sets the Option Buffer Length. Used for HttpSendRequest (Function SendRequest).
|
|
OptionBufferString
|
Property
|
Gets the current Option Buffer String. Used for HttpSendRequest (Function SendRequest).
|
|
ProxyName
|
Property
|
Sets the Proxy Name
|
|
ProxyPassword
|
Property
|
Gets the current Proxy password
|
|
SessionHandle
|
Property
|
Gets the Session Handle
|
|
URL
|
Property
|
Gets the current URL
|
|
UserAgent
|
Property
|
Gets the current User Agent (a string that identifies the client to the HTTP server).
This can any string, but is typically comprised of text identifying a specific browser.
|
|
username
|
Property
|
Gets the current User Name
|
|
UserPassword
|
Property
|
Sets the user password
|
|
Class_Initialize
|
Initialize
|
Set initial values to defaults which may be overridden with property settings
|
|
Class_Terminate
|
Terminate
|
Code to terminate the class and close all connection handles.
|
|
CloseConnection
|
Method
|
Used to close any handle passed to it.
|
|
GetMainURL
|
Private
|
Requests the Main part of the provided URL.
|
|
GetQueryInfo
|
Method
|
Reads the information from the Server.
|
|
GetUrlSubObject
|
Private
|
Requests the sub directory or object of the provided URL.
|
|
OpenConnection
|
Method
|
Opens a Connection to the provided URL. Must have opened a Session prior to calling this function.
|
|
OpenHeaders
|
Method
|
Requests the Headers from the URL.
Must have opened a Session, then a Connection, then a HTTPRequest Handle prior to calling this function.
|
|
OpenHTTP
|
Method
|
Requests the provided URL. Must have opened a Session then a Connection prior to calling this function.
|
|
OpenSession
|
Method
|
Opens a session handle to the WinINET dll. This must be done before any connections or retrieval parts of the class are called.
NOTE: "UserAgent" should have been set already.
|
|
QueryInfo
|
Method
|
Queries the information from the Server, and returns it to the caller
|
|
ReadFile
|
Method
|
Reads the information from the Server, and returns it to the caller
|
|
SendRequest
|
Method
|
Sends the request for information from the URL server.
|
|
SetOptionStrings
|
Method
|
Reads Proxy and User information from the Server.
NOTE: Not designed to set both at the same time. Caller handles what error is returned from original QueryInfo request and uses this function appropriately.
|
|
SetTimeOuts
|
Method
|
Sets time outs lengths for connection time, receive time, and send time
|