Liking cljdoc? Tell your friends :D
Clojure only.

portal.client.jvm


submitclj

(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)
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close