IUrlUtilities
The URLUtils interface defines utility methods to work with URLs.
using AngleSharp.Attributes;
using System.Runtime.CompilerServices;
namespace AngleSharp.Dom
{
[System.Runtime.CompilerServices.NullableContext(1)]
[DomName("URLUtils")]
[DomNoInterfaceObject]
public interface IUrlUtilities
{
[DomName("href")]
string Href { get; set; }
[DomName("protocol")]
string Protocol { get; set; }
[DomName("host")]
string Host { get; set; }
[DomName("hostname")]
string HostName { get; set; }
[DomName("port")]
string Port { get; set; }
[DomName("pathname")]
string PathName { get; set; }
[DomName("search")]
string Search { get; set; }
[DomName("hash")]
string Hash { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("username")]
string UserName {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
[System.Runtime.CompilerServices.NullableContext(2)]
set;
}
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("password")]
string Password {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
[System.Runtime.CompilerServices.NullableContext(2)]
set;
}
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("origin")]
string Origin {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
}
}
}