(submit value)(submit {:keys [encoding port host]
:or {encoding :edn host "localhost" port 53755}}
value)Tap target function.
Will submit values to a remote portal. Tapped value must be serialiable with the encoding method provided.
Usage:
(def submit (partial p/submit {:port 5678})) ;; :encoding :edn is the default
;; (def submit (partial p/submit {:port 5678 :encoding :json}))
;; (def submit (partial p/submit {:port 5678 :encoding :transit}))
(add-tap #'submit)
(remove-tap #'submit)
Tap target function.
Will submit values to a remote portal. Tapped value must be serialiable with
the encoding method provided.
Usage:
```clojure
(def submit (partial p/submit {:port 5678})) ;; :encoding :edn is the default
;; (def submit (partial p/submit {:port 5678 :encoding :json}))
;; (def submit (partial p/submit {:port 5678 :encoding :transit}))
(add-tap #'submit)
(remove-tap #'submit)
```
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 |