Liking cljdoc? Tell your friends :D

clj-activitypub.net


actor-type?clj

source

any-collection-type?clj

source

auth-headersclj

(auth-headers config {:keys [body headers] :or {headers {}}})

Given a config and request map of {:body ... :headers ...}, returns the original set of headers with Signature and Digest attributes appended. If Date is not in the original header set, it will also be appended.

Given a config and request map of {:body ... :headers ...}, returns the
original set of headers with Signature and Digest attributes appended. If
Date is not in the original header set, it will also be appended.
sourceraw docstring

collection-page-type?clj

source

collection-type?clj

source

delivery-targets!clj

(delivery-targets! activity)

Returns the distinct inbox locations for the audience of the activity. This includes the :to, :cc, :audience, :target, :inReplyTo, :object, and :tag fields while also removing the author's own address. If the user's server supports a sharedInbox, that location is returned instead.

Returns the distinct inbox locations for the audience of the activity. This
includes the :to, :cc, :audience, :target, :inReplyTo, :object, and :tag
fields while also removing the author's own address. If the user's server
supports a sharedInbox, that location is returned instead.
sourceraw docstring

fetch-actor!clj

(fetch-actor! user-id)

Fetches the actor located at user-id from a remote server. If you wish to retrieve a list of objects, see [[fetch-objects!]]. Will return a cached result if it exists in memory.

Fetches the actor located at user-id from a remote server. If you wish to
retrieve a list of objects, see [[fetch-objects!]]. Will return a cached
result if it exists in memory.
sourceraw docstring

gen-signature-headerclj

(gen-signature-header config headers)

Generates a HTTP Signature string based on the provided map of headers.

Generates a HTTP Signature string based on the provided map of headers.
sourceraw docstring

lazy-resolve!clj

(lazy-resolve! str-or-obj)
source

reset-object-cache!clj

(reset-object-cache!)

Removes all entries from the object cache, which is populated with results from [[fetch-objects!]] or [[fetch-user!]].

Removes all entries from the object cache, which is populated with results
from [[fetch-objects!]] or [[fetch-user!]].
sourceraw docstring

resolve!clj

(resolve! str-or-obj)

Fetches the resource(s) located at remote-id from a remote server. Results are returned as a collection. If URL points to an ActivityPub Collection, the links will be followed until a resolved object is found. Will return cached results if they exist in memory.

Fetches the resource(s) located at remote-id from a remote server. Results
are returned as a collection. If URL points to an ActivityPub Collection,
the links will be followed until a resolved object is found. Will return
cached results if they exist in memory.
sourceraw docstring

signature-headersclj

source

terminal-object-type?clj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close