[Overview][Types][Procedures and functions][Index] |
Parse a URI and split it into its constituent parts
Source position: line 0
function ParseURI( |
const URI: String |
):TURI; overload; |
const URI: String; |
const DefaultProtocol: String; |
DefaultPort: Word |
):TURI; overload; |
URI |
|
URI to decode |
Record with the URI split out in parts.
URI |
|
URI to decode |
DefaultProtocol |
|
Default protocol to use if none is specified. |
DefaultPort |
|
Default port to use if none is specified. |
Record with the URI split out in parts.
ParseURI decodes URI and returns the various parts of the URI in the result record.
The function accepts the most general URI scheme:
proto://user:pwd@host:port/path/document?params#bookmark
Missing (optional) parts in the URI will be left blank in the result record. If a default protocol and port are specified, they will be used in the record if the corresponding part is not present in the URI.
|
Form a string representation of the URI |
lazarus-ccr.sourceforge.net |