b0.std
B0_url.Authority
Sloppy authority processing.
ocaml
b0
opam
b0 test
b0.file
b0.kit
b0.memo
b0.tool
type t = authority
See authority.
authority
val userinfo : authority -> string option
userinfo a is anything before the lefmost '@' (if any)
userinfo a
'@'
val host : authority -> string
host a is anything between the first '@' (if any) and the ':' separating the port.
host a
':'
port
val port : authority -> int option
port a is the port made of suffix decimal digits before a ':'.
port a