Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Uri end
type component = [
| `Authority
| `Custom of component * string * string
| `Fragment
| `Generic
| `Host
| `Path
| `Query
| `Query_key
| `Query_value
| `Scheme
| `Userinfo
]
val empty : t
val pct_encode : ?scheme:string -> ?component:component -> string -> string
val of_string : string -> t
val to_string : ?pct_encoder:pct_encoder -> t -> string
val make :
?scheme:string ->
?userinfo:string ->
?host:string ->
?port:int ->
?path:string ->
?query:(string * string list) list ->
?fragment:string ->
unit ->
t
val query : t -> (string * string list) list
val verbatim_query : ?pct_encoder:pct_encoder -> t -> string option
val encoded_of_query :
?scheme:string ->
?pct_encoder:pct_encoder ->
(string * string list) list ->
string
val get_query_param' : t -> string -> string list option
val get_query_param : t -> string -> string option
val path : ?pct_encoder:pct_encoder -> t -> string
val path_and_query : t -> string
val scheme : t -> string option
val userinfo : ?pct_encoder:pct_encoder -> t -> string option
val user : t -> string option
val password : t -> string option
val host : t -> string option
val host_with_default : ?default:string -> t -> string
val port : t -> int option
val fragment : t -> string option
val pp_hum : Stdlib.Format.formatter -> t -> unit
val pp : Stdlib.Format.formatter -> t -> unit