|
The Http Request ActiveX control 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.
Http Request 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 1867, RFC 1521
Please see the Demos code (FormPost, SubmitFile, SubmitWizard) and also the indexed Help documentation provided with the Clever Internet ActiveX Suite installation for more details about using this control.
The most common members of the Http Request control can be seen below:
Name |
Description |
IclFormFieldRequestItem |
Is a container for the web form field request data. |
IclSubmitFileRequestItem |
Implements the file HTTP request storage for the Internet components. |
IclTextRequestItem |
Provides the text HTTP request storage for the Internet components. |
|
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. |
Item |
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. |
|
Name |
Description |
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. |
AddXmlData |
Creates a new TclXmlRequestItem instance and adds it to the Items array. |
BuildFormPostRequestByParser, BuildFormPostRequestByHtml, BuildFormPostRequestByUrl |
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. |
|
Name |
Description |
OnGetFileNameForItem |
Occurs when the component is about to build the Submit File request item and substitute its data to the resulting HTTP request. |
|
|