RequestUriBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a custom builder for Uniform Resource Identifiers (URIs) and modifies URIs for the Uri class.
public class RequestUriBuilder
type RequestUriBuilder = class
Public Class RequestUriBuilder
- Inheritance
-
RequestUriBuilder
Constructors
RequestUriBuilder() |
Properties
HasPath |
Gets whether or not this instance of RequestUriBuilder has a path. |
HasQuery |
Gets whether or not this instance of RequestUriBuilder has a query. |
Host |
Gets or sets the Domain Name System (DNS) host name or IP address of a server. |
Path |
Gets or sets the path to the resource referenced by the URI. |
PathAndQuery |
Gets the path and query string to the resource referenced by the URI. |
Port |
Gets or sets the port number of the URI. |
Query |
Gets or sets any query information included in the URI. |
Scheme |
Gets or sets the scheme name of the URI. |
Methods
AppendPath(ReadOnlySpan<Char>, Boolean) |
Optionally escapes and appends the |
AppendPath(String) |
Escapes and appends the |
AppendPath(String, Boolean) |
Optionally escapes and appends the |
AppendQuery(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Boolean) |
Appends a query parameter adding separator if required. |
AppendQuery(String, String) |
Appends a query parameter adding separator if required. Escapes the value. |
AppendQuery(String, String, Boolean) |
Appends a query parameter adding separator if required. |
Reset(Uri) |
Replaces values inside this instance with values provided in the |
ToString() |
Returns a string representation of this RequestUriBuilder. |
ToUri() |
Gets the Uri instance constructed by the specified RequestUriBuilder instance. |