Skip to content

TURI

Record containing all possible parts of a URI.

Declaration

Source position: uriparser.pp line 32

type
  TURI = record
    Protocol: string;
    Username: string;
    Password: string;
    Host: string;
    Port: Word;
    Path: string;
    Document: string;
    Params: string;
    Bookmark: string;
    HasAuthority: Boolean;
    constructor create(aURI: string; aDecode: Boolean=True);
    constructor create(const aURI: string; const aDefaultProtocol: string; 
                  aDefaultPort: Word; aDecode: Boolean=True);
    function ToString : string;
    function URI : string;
    procedure Free;
  end;

Description

TURI is the basic record that can be filled by the ParseURI call. It contains the contents of a URI, parsed out in it's various pieces.

See also

Name Description
ParseURI Parse a URI and split it into its constituent parts.
EncodeURI Form a string representation of the URI.