Topic Path: Symbol Reference > Classes > TIdHTTPProtocol Class > TIdHTTPProtocol Methods > BuildAndSendRequest Method
TIdHTTPProtocol.BuildAndSendRequest Method

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

procedure BuildAndSendRequest(
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.

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