isCommonInternetSchema

Determines whether an URL schema is double-slash based.

Double slash based schemas are of the form schema://[host]/<path> and are parsed differently compared to generic schemas, which are simply parsed as schema:<path>.

Built-in recognized double-slash schemas: ftp, http, https, http+unix, https+unix, spdy, sftp, ws, wss, file, redis, tcp, rtsp, rtsps

@safe nothrow @nogc
bool
isCommonInternetSchema
(
string schema
)

See Also

registerCommonInternetSchema, RFC 1738 Section 3.1

Meta