package activitypub_client

  1. Overview
  2. Docs
ActivityPub client in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-activitypub-0.1.0.tar.bz2
md5=332e6cab89ed63fda379aba37e00c40b
sha512=b6e5fe4948fdbe1d63227adc834c783821b609691c8db24438a8f76c5f6a2c60d1ecbd385baf1029901225abe2031d9aa994a0ed0321ea8082b3281e35552bb0

doc/activitypub_client/Activitypub_client/Object/module-type-T/index.html

Module type Object.TSource

The type of modules to create, dereference and query objects as a given actor.

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) result Lwt.t
val post_data : ?headers:Cohttp.Header.t -> ct:Ldp.Ct.t -> data:string -> Iri.t -> (Iri.t option, Activitypub.E.error) 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)