This component is part of the IP Works Enterprise ASP.NET Component Library.
The HTTP component can be used to retrieve documents from the World Wide Web.
NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.
Remarks
The HTTP component implements a standard HTTP client through a simple plug-and-play interface as defined in RFCs 1945 and 2616 .
The component contains a number of properties that map directly to HTTP request headers. Files are received through events: Transfer for contents, and Header for HTTP headers. The StartTransfer and EndTransfer events are fired at the beginning and end of transmission.
To receive a document call the Get method with the URL to retrieve specified in the URL parameter. Alternatively, the URL property can specify the document to receive. To receive the document call the Get method. Data can be POST-ed to the HTTP server by assigning it to the PostData property and then calling the Post method.
The PUT method is also supported. You should specify the User and Password properties or alternatively the Authorization and call the Put method with the specified URL. The AttachedFile will be sent to the server.
The HTTP component supports the HTTP Basic authentication scheme through the User and Password properties. Other authentication schemes can be implemented by using the Authorization property.
More Information: http://www.nsoftware.com/products/component/http.aspx |