Liking cljdoc? Tell your friends :D

crux.http-server

HTTP API for Crux.

The optional SPARQL handler requires juxt.crux/rdf.

HTTP API for Crux.

The optional SPARQL handler requires juxt.crux/rdf.
raw docstring

data-browser-queryclj

(data-browser-query crux-node
                    options
                    {{:strs [valid-time transaction-time q]} :query-params
                     :as request})

default-date-formatterclj


default-server-portclj


html-request?clj

(html-request? request)

HTTPServerclj


latest-completed-txclj

(latest-completed-tx crux-node)

latest-submitted-txclj

(latest-submitted-tx crux-node)

(link-all-entities db path result)

(link-top-level-entities db path results)

moduleclj


muuntaja-handlerclj


query->htmlclj

(query->html links {headers :find} results)

resolve-entity-mapclj

(resolve-entity-map linked-entities entity-map)

resolve-prev-next-offsetclj

(resolve-prev-next-offset query-params prev-offset next-offset)

start-http-servercljdeprecated

(start-http-server crux-node)
(start-http-server crux-node
                   {:keys [server-port cors-access-control]
                    :or {server-port default-server-port cors-access-control []}
                    :as options})

Starts a HTTP server listening to the specified server-port, serving the Crux HTTP API. Takes a either a crux.api.ICruxAPI or its dependencies explicitly as arguments (internal use).

Starts a HTTP server listening to the specified server-port, serving
the Crux HTTP API. Takes a either a crux.api.ICruxAPI or its
dependencies explicitly as arguments (internal use).
raw docstring

valid-jwt?clj

(valid-jwt? jwt jwks)

Return true if the given JWS is valid with respect to the given signing key.

Return true if the given JWS is valid with respect to the given
signing key.
raw docstring

vt-tt-entity-boxclj

(vt-tt-entity-box vt tt)

wrap-jwtclj

(wrap-jwt handler jwks)

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

× close