Topic Path: Symbol Reference > Classes > TIdHTTPRequest Class
TIdHTTPRequest Class

Provides access to headers and properties for an HTTP request.

TIdHTTPRequest = class(TIdRequestHeaderInfo);

TIdHTTPRequest is a TIdRequestHeaderInfo descendant that provides properties and methods use to define and manipulate header values used in an HTTP request. 

TIdHTTPRequest is the type used to represent the TIdHTTP.Request property, and is used 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 values in the HTTP request, including OnRedirect, OnSelectAuthorization, OnSelectProxyAuthorization, OnAuthorization, OnProxyAuthorization. 

TIdHTTPRequest is 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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.