package ldp

  1. Overview
  2. Docs

Module Http.Http_ctSource

Creating a module to perform specialized queries over the given Http module. See the corresponding functions in Http for more information about arguments.

Parameters

module _ : Http
module W : Ct_wrapper

Signature

Sourcetype t = W.t
Sourceval dbg : string -> unit Lwt.t
Sourceval get : ?follow:int -> ?headers:Cohttp.Header.t -> Iri.t -> (t option * Types.non_rdf_resource, Types.error) result Lwt.t
Sourceval get_exn : ?follow:int -> ?headers:Cohttp.Header.t -> Iri.t -> (t option * Types.non_rdf_resource) Lwt.t
Sourceval post : ?headers:Cohttp.Header.t -> ?data:t -> ?slug:string -> Iri.t -> (t option * Types.meta, query_error) result Lwt.t
Sourceval post_exn : ?headers:Cohttp.Header.t -> ?data:t -> ?slug:string -> Iri.t -> (t option * Types.meta) Lwt.t
Sourceval put : ?headers:Cohttp.Header.t -> ?data:t -> Iri.t -> (t option * Types.meta, query_error) result Lwt.t
Sourceval put_exn : ?headers:Cohttp.Header.t -> ?data:t -> Iri.t -> (t option * Types.meta) Lwt.t
Sourceval fold_get : ?onerror:[ `Fail | `Ignore | `Report of exn -> unit Lwt.t ] -> ?follow:int -> ?headers:Cohttp.Header.t -> ('a -> (t option * Types.non_rdf_resource) -> 'a Lwt.t) -> 'a -> Iri.t list -> 'a Lwt.t
OCaml

Innovation. Community. Security.