Internet Direct (Indy)
Home
PreviousUpNext
TIdURI.GetFullURI Method

Retrieves a URI value including optional fields.

Pascal
function GetFullURI(
    const AOptionalFields: TIdURIOptionalFieldsSet = [ofAuthInfo, ofBookmark]
): String;
Parameters 
Description 
AOptionalFileds 
Optional URI fields to include in the return value. 

String - URI constructed from property values.

GetFullURI is a String function that constructs a URI from property values, and may include optional field values as indicated in AOptionalFileds. The return value for GetFullURI contains a string in the format: 

 

   protocol://username:password@host:port/document#bookmark

 

Username and Password property values are included in the URI when Username is not blank and AOptionalFields includes the value of AuthInfo. 

Port number is included in the URI when the property contains a non-zero value. 

The value for Bookmark is included in the URI when the property is not blank and AOptionalFields includes the value of Bookmark

Use the URI property to get the URI value without optional URI fields.

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.