Added
Link Here
|
0 |
- |
1 |
trurl parses, manipulates and outputs URLs and parts of URLs. |
|
|
2 |
|
3 |
It uses the RFC 3986 definition of URLs and it uses libcurl's URL |
4 |
parser to do so, which includes a few "extensions". The URL support is |
5 |
limited to "hierarchical" URLs, the ones that use "://" separators |
6 |
after the scheme. |
7 |
|
8 |
Typically you pass in one or more URLs and decide what of that you want |
9 |
output. Posssibly modifying the URL as well. |
10 |
|
11 |
trurl knows URLs and every URL consists of up to ten separate and |
12 |
independent "components". These components can be extracted, removed |
13 |
and updated with trurl and they are referred to by their respective |
14 |
names: scheme, user, password, options, host, port, path, query, |
15 |
fragment and zoneid. |