Summary
Supports base functionality of an HTTP URL.
Instance methods
void | |
Adds the query string to the specified StringBuilder instance. |
IEnumerable<string> | |
Enumerates the values of the query-string parameters with the specified name (key). Implementors must return
an empty sequence (rather than null) if no parameter has the specified name. |
Instance properties
string | |
Specifies the domain part of the URL – that is, the part that comes before the first slash (or, if a URL
resolver is used, the part that comes before the hook domain). The protocol is not included. Whenever not
empty, Domain always ends with a dot unless it contains the full domain up to the TLD. Manipulate this part
using IHttpUrlExtensions.WithDomain(this IHttpUrl, string). |
bool | |
Specifies whether the path is followed by a query string (the part that begins with a ? character). |
bool | | Specifies whether the protocol used is HTTPS (secure) or not. |
string | |
Gets the first query-string value with the specified name, or null if no query parameter uses the specified
name. |
string[] | |
Specifies parts of the domain which were resolved via a compatible URL resolver. Must not be modified
directly. Do not use this member directly; instead use a relevant extension method to manipulate the URL (such
as IHttpUrlExtensions.WithDomainParent(this IHttpUrl)). |
string[] | |
Specifies parts of the URL path which were resolved via a compatible URL resolver. Must not be modified
directly. Do not use this member directly; instead use a relevant extension method to manipulate the URL (such
as IHttpUrlExtensions.WithPathParent(this IHttpUrl)). |
string | |
Specifies the path part of the URL – that is, the part that comes after the domain (or, if a URL resolver is
used, the part that comes after the hook path). The query string is not included. Whenever not empty, Path
always begins with a forward slash. Manipulate this part using IHttpUrlExtensions.WithPath(this IHttpUrl, string) or
IHttpUrlExtensions.WithPathOnly(this IHttpUrl, string). |
int | |
Specifies the port. |
IEnumerable<KeyValuePair<string, string>> | |
Enumerates the query parameters as name/value pairs. Implementors must return an empty sequence if no query
string is present, not null. |
string | |
Gets the query string including the question mark character (? ). Implementors must return an empty
string if no query string is present, not null. |