package savvy

  1. Overview
  2. Docs
A straightforward OAuth2 client

Install

dune-project
 Dependency

Authors

Maintainers

Sources

savvy-0.4.1.tbz
sha256=d6ef1f13c522e1d920e2ddc707ee7da4392bf178d8ccbaaea50cc5a2b67c10ad
sha512=74ee303d5b80453ce8a6c6fb49e765b91079bf0b4ed84801ad7d9adcc1dd4ebb22075706e9de4ee90800e2bef5f2eb133ea94f6d82c4e216159ea0e298bb88e8

doc/savvy.json_uri/Json_uri/index.html

Module Json_uriSource

include module type of Uri
Sourcetype 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
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 : sig ... end
module Absolute_http : sig ... end
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval of_yojson : Yojson.Safe.t -> (t, string) result