Liking cljdoc? Tell your friends :D

rockbox.transport

HTTP transport for GraphQL queries — built on java.net.http.HttpClient so the SDK has no third-party HTTP dependency.

You normally don't call this directly; use rockbox.core/query or one of the domain APIs (rockbox.playback, rockbox.library, ...). Exposed for plugin authors and advanced consumers who need a stable hook.

HTTP transport for GraphQL queries — built on `java.net.http.HttpClient`
so the SDK has no third-party HTTP dependency.

You normally don't call this directly; use `rockbox.core/query` or one of
the domain APIs (`rockbox.playback`, `rockbox.library`, ...). Exposed for
plugin authors and advanced consumers who need a stable hook.
raw docstring

executeclj

(execute client query)
(execute client query variables)

Execute a GraphQL query/mutation and return the parsed data map (with kebab-case keyword keys).

variables may be a Clojure map with kebab-case keys; they are converted to camelCase strings before sending. Returns the kebabized data payload, or throws an ex-info of type :rockbox/network or :rockbox/graphql.

Execute a GraphQL query/mutation and return the parsed `data` map (with
kebab-case keyword keys).

`variables` may be a Clojure map with kebab-case keys; they are converted to
camelCase strings before sending. Returns the kebabized `data` payload, or
throws an `ex-info` of type `:rockbox/network` or `:rockbox/graphql`.
sourceraw docstring

execute-fieldclj

(execute-field client query field)
(execute-field client query variables field)

Convenience wrapper: execute the query, then pluck a single top-level field from the response. Most domain APIs use this for one-line bodies.

Convenience wrapper: execute the query, then pluck a single top-level
field from the response. Most domain APIs use this for one-line bodies.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close