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.24 GA
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 propertyFtpRequest
Indicates that the http connection is being used to access an ftp server.
Public propertyProxy (Overrides Proxy.)
Public propertyResponse
Public propertyResponseHeader
Top
Methods
  NameDescription
Public methodAddRequestHeaders
Adds additional headers to the current request.
Public methodCloseRemote
Closes the http connection.
(Overrides CloseRemote.)
Public methodCloseRequest
Closes an http request.
Public methodConnectRemote
Opens the http connection.
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 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.
Top
Remarks
This class provides all necessary methods and properties for an HyperText Transfer Protocol session.
See Also

Reference