Module Utils.UriSource

include module type of struct include Uri end
type t = Uri.t
type component = [
  1. | `Authority
  2. | `Custom of component * string * string
  3. | `Fragment
  4. | `Generic
  5. | `Host
  6. | `Path
  7. | `Query
  8. | `Query_key
  9. | `Query_value
  10. | `Scheme
  11. | `Userinfo
]
type pct_encoder = Uri.pct_encoder
val empty : t
val compare : t -> t -> int
val equal : t -> t -> bool
val pct_encode : ?scheme:??? -> ?component:??? -> string -> string
val pct_encoder : ?scheme:??? -> ?userinfo:??? -> ?host:??? -> ?path:??? -> ?query_key:??? -> ?query_value:??? -> ?fragment:??? -> unit -> pct_encoder
val pct_decode : string -> string
val of_string : string -> t
val to_string : ?pct_encoder:??? -> t -> string
val resolve : string -> t -> t -> t
val canonicalize : t -> t
val make : ?scheme:??? -> ?userinfo:??? -> ?host:??? -> ?port:??? -> ?path:??? -> ?query:??? -> ?fragment:??? -> unit -> t
val with_uri : ?scheme:??? -> ?userinfo:??? -> ?host:??? -> ?port:??? -> ?path:??? -> ?query:??? -> ?fragment:??? -> t -> t
val query : t -> (string * string list) list
val verbatim_query : ?pct_encoder:??? -> t -> string option
val encoded_of_query : ?scheme:??? -> ?pct_encoder:??? -> (string * string list) list -> string
val query_of_encoded : string -> (string * string list) list
val with_query : t -> (string * string list) list -> t
val with_query' : t -> (string * string) list -> t
val get_query_param' : t -> string -> string list option
val get_query_param : t -> string -> string option
val add_query_param : t -> (string * string list) -> t
val add_query_param' : t -> (string * string) -> t
val add_query_params : t -> (string * string list) list -> t
val add_query_params' : t -> (string * string) list -> t
val remove_query_param : t -> string -> t
val path : ?pct_encoder:??? -> t -> string
val path_and_query : t -> string
val with_path : t -> string -> t
val scheme : t -> string option
val with_scheme : t -> string option -> t
val userinfo : ?pct_encoder:??? -> t -> string option
val with_userinfo : t -> string option -> t
val user : t -> string option
val password : t -> string option
val with_password : t -> string option -> t
val host : t -> string option
val with_host : t -> string option -> t
val host_with_default : ?default:??? -> t -> string
val port : t -> int option
val with_port : t -> int option -> t
val fragment : t -> string option
val with_fragment : t -> string option -> t
val pp : Format.formatter -> t -> unit
val pp_hum : Format.formatter -> t -> unit
module Parser = Uri.Parser
module Absolute_http = Uri.Absolute_http
Sourceval to_yojson : Uri.t -> [> `String of string ]
Sourceval of_yojson : [> `String of string ] -> (Uri.t, string) result