Utility functions that might be useful in middleware.
Utility functions that might be useful in middleware.
(msg->var {:keys [ns sym]})Resolve the var referred to by the :ns and :sym slots of an op msg,
coercing both from their on-the-wire strings. Returns nil if it doesn't
resolve to a var.
Resolve the var referred to by the `:ns` and `:sym` slots of an op `msg`, coercing both from their on-the-wire strings. Returns nil if it doesn't resolve to a var.
(respond-to msg & response-data)Send a response for msg with response-data using message's transport.
Send a response for `msg` with `response-data` using message's transport.
Transform a value for output
Transform a value for output
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |