AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.6" />

 ProtocolNames

public static class ProtocolNames
Contains the known protocol names.
public static readonly string Blob

The binary large object protocol.

public static readonly string Data

The pseudo Data protocol.

public static readonly string File

The pseudo File protocol.

public static readonly string Ftp

The File Transfer Protocol.

public static readonly string Gopher

The legacy gopher protocol.

public static readonly string Http

The Hypertext Transfer Protocol.

public static readonly string Https

The Hypertext Transfer Protocol Secure.

public static readonly string JavaScript

The pseudo JavaScript protocol.

public static readonly string Mailto

The pseudo Mailto protocol.

public static readonly string Ssh

The Secure Shell protocol.

public static readonly string Telnet

The Telnet protocol.

public static readonly string Ws

The WebSocket protocol.

public static readonly string Wss

The WebSocket Secure protocol.

public static bool IsOriginable(string protocol)

Checks if the given protocol (without a colon in the end) is suitable for deriving the origin.

public static bool IsRelative(string protocol)

Checks if the given protocol (without a colon in the end) is following a relative scheme.