type.
string | |
Returns the full domain name (the part that comes before the first slash) regardless of any URL resolvers in
use. The protocol and the port number is not included. |
string | |
Returns the full path (the part that comes after the domain) regardless of any URL resolvers in use. The query
string is not included. |
string | | Returns the full and complete URL as a single string. |
string | |
Returns the full path and query string of the specified URL (the part that follows the domain). |
HttpUrl | | Creates an HttpUrl instance containing a copy of the specified URL. |
IHttpUrl | |
Returns a new URL consisting of the specified URL but containing only those query parameters whose name
matches the specified predicate. |
IHttpUrl | Where(this IHttpUrl url, Func<string, string, bool> nameValuePredicate) |
Returns a new URL consisting of the specified URL but containing only those query parameters whose name/value
pair matches the specified predicate. |
IHttpUrl | With(this IHttpUrl url, string pathOrSubdomain, bool useSubdomain = false, bool retainQueryParams = false) |
Changes a URL’s subpath or subdomain. |
IHttpUrl | |
Returns a new URL with the IHttpUrl.Domain changed. The domain must be empty or end with a dot,
unless it is at the TLD level, in which case it must be non-empty and not end with a dot. |
IHttpUrl | | Returns a new, equivalent URL whose IHttpUrl.Domain is empty (treating it like the result of a nested URL resolver). |
IHttpUrl | |
Returns a new, equivalent URL such that the IHttpUrl.Domain includes the part matched by the most recent URL
resolver. |
IHttpUrl | |
Returns a new URL consisting of the specified URL but with the protocol changed. |
IHttpUrl | | Returns a new URL consisting of the specified URL without the query string. |
IHttpUrl | | Returns a new URL consisting of the specified URL with the specified query parameter removed. |
IHttpUrl | | Returns a new URL consisting of the specified URL with the specified query parameters removed. |
IHttpUrl | |
IHttpUrl | |
IHttpUrl | WithParent(this IHttpUrl url, string pathOrSubdomain, bool useSubdomain = false, bool retainQueryParams = false) |
Changes a URL’s subpath or subdomain relative to the most recent URL resolver. |
IHttpUrl | WithParents(this IHttpUrl url, int levels, string pathOrSubdomain, bool useSubdomain = false, bool retainQueryParams = false) |
Changes a URL’s subpath or subdomain relative to the specified number of URL resolvers. |
IHttpUrl | |
Returns a new URL with the IHttpUrl.Path changed. The path must be empty or begin with a forward
slash, and must not contain a query string. |
IHttpUrl | | Returns a new, equivalent URL whose IHttpUrl.Path is empty (treating it like the result of a nested URL resolver). |
IHttpUrl | |
Returns a new URL with the IHttpUrl.Path changed and the query string removed. The path must be
empty or begin with a forward slash, and must not contain a query string. |
IHttpUrl | |
Returns a new, equivalent URL such that the IHttpUrl.Path includes the part matched by the most
recent URL resolver. |
IHttpUrl | |
Returns a new URL consisting of the specified URL with the specified query parameter replaced with the
specified value. |
IHttpUrl | |
Returns a new URL consisting of the specified URL with the specified query parameter replaced with the
specified set of values. |
IHttpUrl | |