Http.Http_ct
Creating a module to perform specialized queries over the given Http
module. See the corresponding functions in Http
for more information about arguments.
module W : Ct_wrapper
type t = W.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