Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPProtocol.BuildAndSendRequest Method

Constructs and sends a HTTP request message using headers and cookies.

Pascal
procedure BuildAndSendRequest(
    AURI: TIdURI
);
Parameters 
Description 
AURI 
Optional Universal Resource Locator for the request. 

BuildAndSendRequest is a procedure that allows the protocol handler to set header values for the HTTP request, and to send the request to the HTTP server. 

BuildAndSendRequest will ensure that ProxyParams is updated from the raw headers in Request, and sets cookie values for the optional domain in AURI. 

BuildAndSendRequest also generates the HTTP request message packet, including header values, and writes the values using the connection for the TIdHTTP client. 

BuildAndSendRequest is called when the HTTP client connects to the host server for the HTTP request.

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.