Struct Url
Properties
Property name | Type | Description |
---|---|---|
schema | string | The schema /protocol part of the URL |
pathString | string | The path part of the URL in the original string form |
path | Path | The path part of the URL |
host | string | The host part of the URL (depends on the schema ) |
port | ushort | The port part of the URL (optional) |
username | string | The user name part of the URL (optional) |
password | string | The password part of the URL (optional) |
queryString | string | The query string part of the URL (optional) |
anchor | string | The anchor part of the URL (optional) |
localURI | string | The path part plus query string and anchor |
parentUrl | Url | The URL to the parent path with query string and anchor stripped. |
Methods
Method name | Description |
---|---|
this | Constructs a new URL object from its components. |
parse | Constructs a URL from its string representation. |
toString | Converts this URL object to its string representation. |
startsWith | |
opBinary | |
opBinary | |
opOpAssign | |
opOpAssign | |
opEquals | |
opCmp | |
__xopEquals |
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.