Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
 
SUBSCRIBE
 
Previous Newsletters
 




Products Articles Downloads Order Support
Customer Portal      

HTTP Client Description

Features | Detailed Description

Available in .NET, VCL and ActiveX editions.

Http is used to submit or retrieve the information from a web server to your local computer via HTTP protocol as described in RFC 1945 and RFC 2616 documents.

The HTTP component provides a simple way for developing customized web client applications. Implementing both HTTP 1.0 and HTTP 1.1 specifications allows the user to use the HTTP component for retrieving documents from a HTTP server as well as submit form data for further processing by a CGI, Java servlet or ASP.NET application.

Using HTTP component you can log on to the server that requires SSL authentication and also authenticate using client certificate. See SSL / TLS support

Please see the Demos code (HttpClient, HttpClientSSL, HttpClientProxy) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.

The most common members of the HTTP component can be seen below:

Property List

  Name   Description
 Active Provides information about the activity status of the connection.
 AllowCaching Specifies whether the HTTP client allows caching the response data on the server.
 AllowCompression Specifies whether the HTTP client can retrieve compressed data.
 AllowCookies Specifies whether the HTTP client accepts Cookies in response headers.
 AllowRedirects Specifies whether the HTTP client can handle redirections to an alternate resource location.
 CookieManager Represents the cookie collection for sending to the HTTP server together with the request data.
 Password Specifies the password that allows the desired component to log on to the server.
 ProxySettings Provides an optional settings to be used for proxied connections to the HTTP server.
 ResponseHeader Provides access to headers for an HTTP response.
 StatusCode Specifies the response code received from a HTTP server.
 UserAgent Specifies the name of the application or entity calling the Internet functions.
 UserName Specifies the user name that allows the component to log on to the server.

Method List

  Name   Description
 Close Closes a previously opened server connection and terminates the current Web request.
 Delete Deletes an HTTP resource.
 Get Retrieves an HTTP resource and stores it to the specified stream object.
 Head Requests header values for a resource and stores it to the ResponseHeader property.
 Post Posts the selected HTTP request to a web server or CGI program and stores the server response to the specified stream object.
 Put Submits HTTP data using the HTTP PUT command.
 SendRequest Sends a HTTP request with the given parameters using the specified HTTP method and stores the server response to the specified stream object.

Event List

  Name   Description
 OnClose Occurs when component disconnected from the server.
 OnOpen Occurs when component connected to the server.
 OnReceiveProgress Occurs when data downloading is processed.
 OnRedirect Occurs when the HTTP server issues a redirect.
 OnSendRequest Occurs when the HTTP client has sent a request.
 OnReceiveResponse Occurs when server response is received.
 OnSendProgress Occurs when data uploading is processed.

    Copyright © 2000-2024