HttpUrl
Struct · namespace System.Net · Since 0.42
struct HttpUrlThe parts of an http or https URL (Http.ParseUrl).
Fields
Section titled “Fields”| Name | Description |
|---|---|
Secure |
Whether it is https. |
Host |
The name or address of the host (without brackets for an IPv6 address). |
Port |
The port: the one in the URL, else 443 for https and 80 for http. |
Path |
The path with the query (/a/b?c=d), at least /. |
Secure
Section titled “Secure”bool SecureWhether it is https.
string HostThe name or address of the host (without brackets for an IPv6 address).
int PortThe port: the one in the URL, else 443 for https and 80 for http.
string PathThe path with the query (/a/b?c=d), at least /. A fragment (#...) is not part of it.