(caller rpc)
Given an rpc, this returns a function that takes arguments as specified in the rpc, and returns a reacl-c-basics ajax request. If executed successfull, the response value of the request will be the result of the rpc.
This is intended to not be called directly, but to be used as the
context caller
with active.data.http.rpc/set-context-caller
.
(set-context-caller my-api active.data.http.rpc.reacl-c/caller)
Given an rpc, this returns a function that takes arguments as specified in the rpc, and returns a reacl-c-basics ajax request. If executed successfull, the response value of the request will be the result of the rpc. This is intended to not be called directly, but to be used as the `context caller` with [[active.data.http.rpc/set-context-caller]]. ``` (set-context-caller my-api active.data.http.rpc.reacl-c/caller) ```
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 |