Class ProtoHttpUri
Platform-independent HTTP URI classification shared by protocol integrations.
public static class ProtoHttpUri
- Inheritance
-
ProtoHttpUri
- Inherited Members
Methods
HasExplicitScheme(string)
Returns whether the value starts with a URI scheme that may contain a colon, such as
https:// or file:///. A route segment that merely contains a colon, such as
orders:search, is not a scheme: an explicit scheme always has a :// separator.
public static bool HasExplicitScheme(string value)
Parameters
valuestring
Returns
IsHttpUri(Uri)
Returns whether uri uses the HTTP or HTTPS scheme.
public static bool IsHttpUri(Uri uri)
Parameters
uriUri
Returns
TryCreateAbsoluteHttpUri(string, out Uri?)
public static bool TryCreateAbsoluteHttpUri(string value, out Uri? uri)