package caldav

  1. Overview
  2. Docs
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:string -> ?component:component -> string -> string
val pct_encoder : ?scheme:component -> ?userinfo:component -> ?host:component -> ?path:component -> ?query_key:component -> ?query_value:component -> ?fragment:component -> unit -> pct_encoder
val pct_decode : string -> string
val of_string : string -> t
val to_string : ?pct_encoder:pct_encoder -> t -> string
val resolve : string -> t -> t -> t
val canonicalize : t -> t
val make : ?scheme:string -> ?userinfo:string -> ?host:string -> ?port:int -> ?path:string -> ?query:(string * string list) list -> ?fragment:string -> unit -> t
val with_uri : ?scheme:string option -> ?userinfo:string option -> ?host:string option -> ?port:int option -> ?path:string option -> ?query:(string * string list) list option -> ?fragment:string option -> t -> 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 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: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: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:string -> 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_hum : Stdlib.Format.formatter -> t -> unit
module Parser = Uri.Parser
module Absolute_http = Uri.Absolute_http
val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.