[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

The latest version of this document can be found at lazarus-ccr.sourceforge.net .