Internet Direct (Indy) Version 9.0.1 Beta
TIdProxyConnectionInfo.SetHeaders
Loads header names and values from object properties.

procedure SetHeaders(var Headers: TIdHeaderList);
Parameters
var Headers: TIdHeaderList
Destination for the header names and values.

Description
SetHeaders is a procedure used to populate the TIdHeaderList specified in Headers with the names and values needed to represent the properties of the object instance. SetHeaders creates a 'Proxy-Authorization:' header using the value of the Authentication object property.