Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPRequest Class

Provides access to headers and properties for an HTTP request.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.