Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Interface: RT.Servers.IHttpUrl

Summary

Supports base functionality of an HTTP URL.

Instance methods

void
AppendQueryString(StringBuilder sb, bool first)
  • Abstract
Adds the query string to the specified StringBuilder instance.
IEnumerable<string>
QueryValues(string name)
  • Abstract
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
  • Abstract
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
  • Abstract
Specifies whether the path is followed by a query string (the part that begins with a ? character).
bool
  • Abstract
Specifies whether the protocol used is HTTPS (secure) or not.
string
this[string name]
  • Abstract
Gets the first query-string value with the specified name, or null if no query parameter uses the specified name.
string[]
  • Abstract
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[]
  • Abstract
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
  • Abstract
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
  • Abstract
Specifies the port. (see also remarks)
IEnumerable<KeyValuePair<string, string>>
  • Abstract
Enumerates the query parameters as name/value pairs. Implementors must return an empty sequence if no query string is present, not null.
string
  • Abstract
Gets the query string including the question mark character (?). Implementors must return an empty string if no query string is present, not null.