package piaf

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

Use another request method.