[Overview][Types][Procedures and functions][Index] | Reference for unit 'URIParser' (#fcl)

# TURI

Record containing all possible parts of a URI

## Declaration

Source position: uriparser.pp line 26

`type TURI = record`
`Protocol: string;` |  | Protocol of the URI (http, ftp, file, mailto etc.)
`Username: string;` |  | Username part of the URI
`Password: string;` |  | Password part of the URI
`Host: string;` |  | Hostname part of the URI
`Port: Word;` |  | Port part of the URI
`Path: string;` |  | Path (directory) part of the URI
`Document: string;` |  | Document (filename) part of the URI
`Params: string;` |  | Query parameter part of the URI
`Bookmark: string;` |  | Bookmark part of the URI
`HasAuthority: Boolean;` |  | Indicates whether an 'Authority' part was present in the URI
`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

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