Url.Authority
Sloppy authority processing.
type t = string
The type for [userinfo@]HOST:PORT authorities.
[userinfo@]HOST:PORT
type port = int
The type for authority ports.
type host = string
The type for authority hosts.
val userinfo : t -> string option
userinfo a is anything before the lefmost '@' (if any)
userinfo a
'@'
val host : t -> host
host a is anything between the first '@' (if any) and the ':' separating the port.
host a
':'
port
val port : t -> port option
port a is the port made of suffix decimal digits before a ':'.
port a