Site Map Email Us Home
 
All Products
Clever Internet Suite
Clever Internet .NET Suite
Clever Internet ActiveX Suite
Clever Keyboard Indicator
Database Comparer
Database Comparer VCL
Database Comparer ActiveX
Interbase DataPump
Subscribe and receive email notifications on all major releases and other important events.
Your Name:
Your Email:
 

Best Offer for Delphi / C++ Builder Developers

 

Buy FIBPlus at discount price !

 
 
Products Articles Downloads Order Support
Components  | Samples  | FAQ  | Download  | Order  | History 
 

HTTP Request Description

Features  | Detailed Description 
 

The HttpRequest component provides the request data to be sent to the server with the POST or GET methods. This component only prepares the HTTP request data. It does not send it over the HTTP protocol.

HttpRequest is an independent stand-alone component. So it is possible to use it with any other http client engines / components for composing Web HTTP requests formatted according to RFC standards: RFC 1867RFC 1521

Please see the BuildFormPostRequest method to learn more on how to extract the Web Form POST request from existing HTML source and create the HTTP request data.

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

Supported HTTP request content types

  Name   Description
 TclBinaryRequestItem Implements the binary HTTP request storage for the Internet components.
 TclFormFieldRequestItem Is a container for the web form field request data.
 TclSubmitFileRequestItem Implements the file HTTP request storage for the Internet components.
 TclTextRequestItem Provides the text HTTP request storage for the Internet components.

Property List

  Name   Description
 Boundary Represents a character sequence that delimits the multipart request items.
 FormFields Gets the TclFormFieldRequestItem object with the specified name.
 Header Gets or sets the necessary information about the request header fields (TclHttpRequestHeader object).
 HeaderSource Returns a string list that represents the current Web HTTP request header.
 Items Gets the request item at the specified index in the collection.
 RequestSource Returns a string list that represents the current Web HTTP request.
 TotalSize Gets the total data size in the request items collection.

Method List

  Name   Description
 Add Adds a new TclHttpRequestItem or its descendant to the Items array.
 AddBinaryData Creates a new TclBinaryRequestItem instance and adds it to the Items array.
 AddFormField Creates a new TclFormFieldRequestItem instance and adds it to the Items array.
 AddSubmitFile Creates a new TclSubmitFileRequestItem instance and adds it to the Items array.
 AddTextData Creates a new TclTextRequestItem instance and adds it to the Items array.
 BuildFormPostRequest Allows extracting the Web Form POST request from given html source and building the HTTP request items.
 Clear Deletes all items from the collection.
 Delete Deletes a request item from the Items array.

Event List

  Name   Description
 OnGetDataStream Occurs when the request builder is about to build the TclBinaryRequestItem request item and substitute its data to the resulting HTTP request.
 OnGetFormNumber Occurs when the request builder detects more than one Web FORM tags within the HTML source and requires for specifying which of Form tags should be processed.

 
Home  | Site Map  | Products  | Articles  | Downloads  | Order  | Support
 
    Copyright © 2000-2007