Skip to content
CShift0.45

HttpUrl

Struct · namespace System.Net · Since 0.42

struct HttpUrl

The parts of an http or https URL (Http.ParseUrl).

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 /.
bool Secure

Whether it is https.

string Host

The name or address of the host (without brackets for an IPv6 address).

int Port

The port: the one in the URL, else 443 for https and 80 for http.

string Path

The path with the query (/a/b?c=d), at least /. A fragment (#...) is not part of it.