Interface IUrlUtilities
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
The URLUtils interface defines utility methods to work with URLs.
[DomName("URLUtils")]
[DomNoInterfaceObject]
public interface IUrlUtilities
- Extension Methods
Properties
Hash
Gets or sets a '#' followed by the fragment identifier of the URL.
[DomName("hash")]
string Hash { get; set; }
Property Value
Host
Gets or sets the host, that is the hostname, a ':', and the port of the URL.
[DomName("host")]
string Host { get; set; }
Property Value
HostName
Gets or sets the domain of the URL.
[DomName("hostname")]
string HostName { get; set; }
Property Value
Href
Gets or sets the whole URL.
[DomName("href")]
string Href { get; set; }
Property Value
Origin
Gets the canonical form of the origin of the specific location.
[DomName("origin")]
string? Origin { get; }
Property Value
Password
Gets or sets the password specified before the domain name.
[DomName("password")]
string? Password { get; set; }
Property Value
PathName
Gets or sets an initial '/' followed by the path of the URL.
[DomName("pathname")]
string PathName { get; set; }
Property Value
Port
Gets or sets the port number of the URL.
[DomName("port")]
string Port { get; set; }
Property Value
Protocol
Gets or sets the protocol scheme of the URL, including the final ':'.
[DomName("protocol")]
string Protocol { get; set; }
Property Value
Search
Gets or sets a '?' followed by the parameters of the URL.
[DomName("search")]
string Search { get; set; }
Property Value
UserName
Gets or sets the username specified before the domain name.
[DomName("username")]
string? UserName { get; set; }