Module type Client.Client

type 'a t
type ctx
type error
type meth = [
  1. | `HEAD
  2. | `GET
  3. | `POST
]
type response = {
  1. headers : (string * string) list;
  2. status : int;
}
val request : ?ctx:ctx -> ?meth:meth -> ?headers:(string * string) list -> ?body:string -> string -> (response * string, error) Stdlib.result t