vibe.inet.url

URL parsing routines.

Public Imports

vibe.core.path
public import vibe.core.path;
Undocumented in source.

Members

Functions

isCommonInternetSchema
bool isCommonInternetSchema(string schema)

Determines whether an URL schema is double-slash based.

isValidHostName
bool isValidHostName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
isValidSchema
bool isValidSchema(string schema)
Undocumented in source. Be warned that the author may not have intended to support it.
parseUserURL
URL parseUserURL(string url, string default_schema)

Parses a user-provided URL with relaxed rules.

registerCommonInternetSchema
deprecated void registerCommonInternetSchema(string schema)
Undocumented in source. Be warned that the author may not have intended to support it.
registerCommonInternetSchema
void registerCommonInternetSchema(string schema, ushort port)

Adds the name of a schema to be treated as double-slash style.

Structs

URL
struct URL

Represents a URL decomposed into its components.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig