package activitypub_client

  1. Overview
  2. Docs

Parameters

module H : Http_t

Signature

val conf : Conf.t
val actor_conf : Conf.actor
val actor_iri : Iri.t
module H : Http_t
val jsonld_string_to_graph : ?g:Rdf.Graph.graph -> string -> (Rdf.Graph.graph * Iri.t option) Lwt.t
val graph_to_jsonld_string : Rdf.Graph.graph -> string
val dereference : dereferencer
class o : ?g:Rdf.Graph.graph -> ?dereference:dereferencer -> Activitypub.Types.id -> object ... end
val get : ?g:Rdf.Graph.graph -> ?dereference:dereferencer -> Activitypub.Types.id -> o
val of_iri : ?g:Rdf.Graph.graph -> ?dereference:dereferencer -> Iri.t -> o
val of_object : ?dereference:dereferencer -> Activitypub.Types.object_ -> o
val post : Iri.t -> Rdf.Graph.graph -> (Iri.t option, Activitypub.E.error) Stdlib.result Lwt.t
val post_data : ?headers:Cohttp.Header.t -> ct:Ldp.Ct.t -> data:string -> Iri.t -> (Iri.t option, Activitypub.E.error) Stdlib.result Lwt.t
val collection_next_items : ?check_delay:float -> ?after:Iri.t -> Activitypub.Types.collection -> [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] Lwt_stream.t * (unit -> unit)
OCaml

Innovation. Community. Security.