package piaf

  1. Overview
  2. Docs
val head : ?config:Config.t -> ?headers:(string * string) list -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) result
val get : ?config:Config.t -> ?headers:(string * string) list -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) result
val post : ?config:Config.t -> ?headers:(string * string) list -> ?body:Body.t -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) result
val put : ?config:Config.t -> ?headers:(string * string) list -> ?body:Body.t -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) result
val patch : ?config:Config.t -> ?headers:(string * string) list -> ?body:Body.t -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) result
val delete : ?config:Config.t -> ?headers:(string * string) list -> ?body:Body.t -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) result
val request : ?config:Config.t -> ?headers:(string * string) list -> ?body:Body.t -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> meth:Method.t -> Uri.t -> (Response.t, [> Error.t ]) result

Use another request method.

OCaml

Innovation. Community. Security.