Module type Http.Http_ct

The type of the module with specialized query functions.

type t
val dbg : string -> unit Lwt.t
val get : ?headers:Cohttp.Header.t -> Iri.t -> (t option * Types.non_rdf_resource) Lwt.t
val post : ?headers:Cohttp.Header.t -> ?data:t -> ?slug:string -> Iri.t -> (t option * Types.meta) Lwt.t
val put : ?headers:Cohttp.Header.t -> ?data:t -> Iri.t -> (t option * Types.meta) Lwt.t
val fold_get : ?onerror:[ `Fail | `Ignore | `Report of exn -> unit Lwt.t ] -> ?headers:Cohttp.Header.t -> ('a -> (t option * Types.non_rdf_resource) -> 'a Lwt.t) -> 'a -> Iri.t list -> 'a Lwt.t