Indy 9
|
TIdHTTPRequest = class(TIdRequestHeaderInfo)
TIdHTTPRequest is the type used to represent the TIdHTTP.Request property, and is used in when TIdHTTP prepares the request by generating request header values that reflect the relative URL, user authentication, host, options, protocol version, and content length for the URL and source stream in the HTTP request.
A prepared TIdHTTPRequest instance is provided as an argument to TIdHTTP event handlers that use or update valued in the HTTP request, including OnRedirect, OnSelectAuthorization, OnSelectProxyAuthorization, OnAuthorization, OnProxyAuthorization.
TIdHTTPRequest is also the type used to represent the TIdHTTPProtocol.Request property, and allows the protocol handler to store a reference to the request used in HTTP protocol exchanges.
property Method: TIdHTTPMethod;
property Source: TStream;
property URL: string;
property UseProxy: TIdHTTPConnectionType;
constructor Create(AHTTP: TIdCustomHTTP); virtual; reintroduce;