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 ]) Stdlib.result
val get : ?config:Config.t -> ?headers:(string * string) list -> sw:Eio.Switch.t -> Eio_unix.Stdenv.base -> Uri.t -> (Response.t, [> Error.t ]) Stdlib.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 ]) Stdlib.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 ]) Stdlib.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 ]) Stdlib.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 ]) Stdlib.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 ]) Stdlib.result

Use another request method.

OCaml

Innovation. Community. Security.