Companion

The parser.

Functions

Link copied to clipboard
fun parse(text: String): Result<Url>

Parses text by the rules in the class description; parse(url.toString()) yields an equal Url.