Liking cljdoc? Tell your friends :D
Clojure only.

clj-artnet.impl.protocol.data

Helpers for ArtDataRequest/Reply configuration.

Provides pure functions for normalizing data configuration, utilized by impl.protocol.lifecycle. Extracted to resolve dependency cycles.

Helpers for ArtDataRequest/Reply configuration.

Provides pure functions for normalizing data configuration, utilized by
`impl.protocol.lifecycle`. Extracted to resolve dependency cycles.
raw docstring

normalize-configclj

(normalize-config data)

Normalizes data configuration for ArtDataRequest responses.

Accepts:

  • Map with :responses containing response definitions
  • Map of response definitions directly

Response values:

  • String -> :text
  • byte array/ByteBuffer -> :data
  • Sequential -> byte array :data
  • Map -> {:text ... :data ...}

Returns {:responses {:by-type {...} :by-code {...}}}.

Normalizes data configuration for ArtDataRequest responses.

Accepts:
- Map with :responses containing response definitions
- Map of response definitions directly

Response values:
- String -> :text
- byte array/ByteBuffer -> :data
- Sequential -> byte array :data
- Map -> {:text ... :data ...}

Returns {:responses {:by-type {...} :by-code {...}}}.
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