package otoggl

  1. Overview
  2. Docs
val head : ?config:Piaf.Config.t -> ?headers:(string * string) list -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t
val get : ?config:Piaf.Config.t -> ?headers:(string * string) list -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t
val post : ?config:Piaf.Config.t -> ?headers:(string * string) list -> ?body:Piaf.Body.t -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t
val put : ?config:Piaf.Config.t -> ?headers:(string * string) list -> ?body:Piaf.Body.t -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t
val patch : ?config:Piaf.Config.t -> ?headers:(string * string) list -> ?body:Piaf.Body.t -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t
val delete : ?config:Piaf.Config.t -> ?headers:(string * string) list -> ?body:Piaf.Body.t -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t
val request : ?config:Piaf.Config.t -> ?headers:(string * string) list -> ?body:Piaf.Body.t -> meth:Piaf.Method.t -> Uri.t -> (Piaf.Response.t, Piaf.Error.t) Lwt_result.t

Use another request method.

OCaml

Innovation. Community. Security.