Click or drag to resize

CHttp Class

X#
Wrapper class for an Http (Hypertext transfer protocol) session.
Inheritance Hierarchy
Object
  CSession
    CHttp

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 CLASS CHttp INHERIT CSession
Request Example View Source

The CHttp type exposes the following members.

Constructors
  NameDescription
Public methodCHttp
Instantiates a new Http wrapper object.
Top
Properties
  NameDescription
Public propertyAccessType
The type of Internet session. The default type is INTERNET_OPEN_TYPE_DIRECT. The alternate type is INTERNET_OPEN_TYPE_PROXY.
(Inherited from CSession.)
Public propertyConnected
A logical value indicating the status of the connection.
(Inherited from CSession.)
Public propertyConnectHandle
Internet connection handle.
(Inherited from CSession.)
Public propertyError
The number of the last error code received.
(Inherited from CSession.)
Public propertyErrorMsg
A string representing the last error message received.
(Inherited from CSession.)
Public propertyFtpRequest
Indicates that the http connection is being used to access an ftp server.
Public propertyHandle
The Internet session handle.
(Inherited from CSession.)
Public propertyOpenFlags
**Missing documentation **
(Inherited from CSession.)
Public propertyPassWord
The password necessary to establish the remote connection.
(Inherited from CSession.)
Public propertyPort
The Port number of the current session communication.
(Inherited from CSession.)
Public propertyProxy (Overrides Proxy.)
Public propertyProxyBypass
A string representing the proxies to bypass when establishing the remote connection.
(Inherited from CSession.)
Public propertyRemoteHost
A string representing the Host name or IP address of the remote server.
(Inherited from CSession.)
Public propertyResponse
Public propertyResponseHeader
Public propertyUserName
A string representing the User ID necessary to establish the remote connection.
(Inherited from CSession.)
Top
Methods
  NameDescription
Public methodAddRequestHeaders
Adds additional headers to the current request.
Public methodCloseFile
Closes a remote file.
(Inherited from CSession.)
Public methodCloseRemote
Closes the http connection.
(Overrides CloseRemote.)
Public methodCloseRequest
Closes an http request.
Public methodConnectRemote(Usual, Usual, Usual)
Opens the http connection.
Public methodConnectRemote(Usual, Usual, Usual, Usual)
Opens a connection to the Internet server.
(Inherited from CSession.)
Public methodDestroy
**Missing documentation **
(Inherited from CSession.)
Public methodDirectory
If an ftp server is accessed via http, this method returns an array of the files of the current directory.
Public methodGetCurDir
Gets the name of the current directory on the remote server.
Public methodGetDocumentByURL
Retrieves a document from the server.
Public methodGetDocumentFromServer
Retrieves a document from the server.
Public methodGetFile
Retrieves the remote file cRemoteFile to the (local) file cNewFile.
Public methodGetResponse
Gets the response for the current request.
Public methodGetResponseHeader
Gets the response header for the current request.
Public methodInternetStatus
**Missing documentation **
(Inherited from CSession.)
Public methodOpen
Opens the http connection.
(Overrides Open(Usual, Usual, Usual).)
Public methodOpenFile
Opens a remote file.
Public methodOpenRequest
Opens a new request.
Public methodSendRequest
Sends a request to the server.
Public methodSetCurDir
Changes the current directory on the remote server for the current process.
Public methodSetResponseStatus
**Missing documentation **
(Inherited from CSession.)
Top
Remarks
This class provides all necessary methods and properties for an HyperText Transfer Protocol session.
See Also

Reference