Hypertext Transfer Protocol Class Methods  
 
Class Description
CHttpClient Constructor which initializes the current instance of the class.
~CHttpClient Destructor which releases resources allocated by the class.
Method Description
AddField Append the form field and its value to the current form.
AddFile Append the contents of the file to the current form.
AddHeaders Add one or more request headers for the current client session.
AttachHandle Attach the specified client handle to this instance of the class.
AttachThread Attach the specified client handle to another thread.
Authenticate Specify authentication information for restricted resources.
Cancel Cancel the current blocking operation.
ClearForm Remove all defined fields from the current form.
ClearHeaders Resets the current request and response headers to their default values.
CloseFile Close the file opened on the server.
Command Send a command to the server.
Connect Connect to the specified server.
ConnectUrl Establish a client connection using the specified URL.
CreateFile Create or replace a file on the server.
CreateForm Create a new form to submit to the server.
CreateSecurityCredentials Create a new security credentials structure.
DeleteFile Remove a file from the server.
DeleteField Delete the form field and its value from the current form.
DeleteHeaders Delete all of the response or request headers for the current session.
DeleteSecurityCredentials Delete a previously created security credentials structure.
DestroyForm Destroy the current form and free the memory allocated for it.
DetachHandle Detach the handle for the current instance of this class.
DisableEvents Disable asynchronous event notification.
DisableTrace Disable logging of network function calls.
Disconnect Disconnect from the current server.
DownloadFile Download a file from the server to the local system.
EnableCompression Enable or disable support for data compression.
EnableEvents Enable asynchronous event notification.
EnableTrace Enable logging of network function calls to a file.
FreezeEvents Suspend asynchronous event processing.
GetBearerToken Return the current OAuth 2.0 bearer token for the client session.
GetContentLength Return the size of the current resource in bytes.
GetContentType Return the content type for the current resource.
GetCookie Return information about the specified cookie.
GetData Copy the specified resource to a local buffer.
GetDefaultUserAgent Return the default user agent string included with requests.
GetDefaultZoneId Return the default security zone for downloaded files.
GetEncodingType Determines which content encoding option is enabled.
GetErrorString Return a description for the specified error code.
GetFile Copy a file from the server to the local system.
GetFilePathUrl Return a normalized URL for the specified file on the server.
GetFileSize Return the size of a file on the server.
GetFileTime Return the date and time a file on the server was last modified.
GetFileZoneInfo Return file zone identifier information for the specified local file.
GetFirstCookie Return the first cookie set by the server.
GetFirstHeader Return the name and value of the first request or response header field.
GetFormProperties Return the properties of the specified form.
GetHandle Return the client handle used by this instance of the class.
GetHeader Return the value of the specified response header field.
GetLastError Return the last error code.
GetNextCookie Return the next cookie set by the server.
GetNextHeader Return the name and value of the next request or response header field.
GetOption Return the enabled/disabled state of a specified option.
GetPriority Return the current priority for file transfers.
GetRedirectUrl Return the URL for a redirected resource.
GetResourceUrl Return the URL for the current resource.
GetResultCode Return the result code from the previous command.
GetResultString Return the result string from the previous command.
GetSecurityInformation Return security information about the current client connection.
GetSecurityZoneId Returns the security zone identifier for the specified resource.
GetStatus Return the current client status.
GetText Download the contents of a text file or resource to a string buffer.
GetTimeout Return the number of seconds until an operation times out.
GetTransferStatus Return data transfer statistics.
HttpEventProc Callback method that processes events generated by the client.
IsBlocking Determine if the client is blocked, waiting for information.
IsConnected Determine if the client is connected to the server.
IsInitialized Determine if the class has been successfully initialized.
IsReadable Determine if data can be read from the server.
IsWritable Determine if data can be written to the server.
NormalizePath Normalize the specified resource returning a canonical path.
NormalizeUrl Normalize the specified URL returning a canonical path.
OpenFile Open a file on the server for reading.
PatchData Submits JSON or XML patch data to the server and returns the response.
PostData Post data from a local buffer to the server and returns the response.
PostFile Submit the contents of a local file to the server.
PostJson Submit JSON structured data to the server and returns the response.
PostText Submit plain text data to the server and returns the response.
PostXml Submit XML structured data to the server and returns the response.
ProxyConnect Establish a connection with the specified proxy server.
PutData Create a file on the server using the contents of a local buffer.
PutFile Copy a file from the local system to the server.
PutText Create a text file on the server from the contents of a string buffer.
Read Read data from the server.
RegisterEvent Register an event callback function.
SetBearerToken Set the value of the OAuth 2.0 bearer token for the client session.
SetContentType Set the content type for the request.
SetCookie Set the value of the specified cookie.
SetDefaultUserAgent Set the default user agent string included with requests.
SetDefaultZoneId Set the default security zone for downloaded files.
SetEncodingType Specifies the type of encoding to be applied to data submitted to the server.
SetFileZoneInfo Set or remove the zone identifier associated with the specified file.
SetFormProperties Modify the properties of the current form.
SetHeader Set the value of a request header field.
SetLastError Set the last error code.
SetOption Enable or disable the specified option.
SetPriority Set the priority for file transfers.
SetTimeout Set the number of seconds until an operation times out.
ShowError Display a message box with a description of the specified error.
SubmitForm Submit the current form to the server for processing.
SubmitRequest Submit a request to the server and return the response.
UploadFile Upload a file from the local system to the server.
ValidateHostName Validate the specified host name and return the resolved IP address.
ValidateUrl Check the contents of a string to ensure it represents a valid URL.
VerifyFile Compare the size of a local file against a file stored on the server.
Write Write data to the server.