Module Url.Authority

Sloppy authority processing.

type t = authority
val userinfo : authority -> string option

userinfo a is anything before the lefmost '@' (if any)

val host : authority -> string

host a is anything between the first '@' (if any) and the ':' separating the port.

val port : authority -> int option

port a is the port made of suffix decimal digits before a ':'.