(async-> x & forms)
Like clojure.core/-> except it returns a channel, and each step may be a channel as well.
Like clojure.core/-> except it returns a channel, and each step may be a channel as well.
Provides extension semantics for generating request options for arbitrary types passed as body params. Example:
(extend-protocol InfersRequestOptions MyTransitType (-opts [_] {:accept "application/transit+json"}) (-params [this] {:transit-params this}))
Provides extension semantics for generating request options for arbitrary types passed as body params. Example: (extend-protocol InfersRequestOptions MyTransitType (-opts [_] {:accept "application/transit+json"}) (-params [this] {:transit-params this}))
(-params _)
Returns a map of cljs-http params for request options
Returns a map of cljs-http params for request options
(-opts _)
Returns arbitrary request options for params type
Returns arbitrary request options for params type
Matches a link-value
according to https://tools.ietf.org/html/rfc5988#section-5,
capturing URI-Reference
, capturing link-param
for further processing.
Matches a `link-value` according to https://tools.ietf.org/html/rfc5988#section-5, capturing `URI-Reference`, capturing `link-param` for further processing.
Matches a rel
link-param
, capturing its value
Matches a `rel` `link-param`, capturing its value
(options _)
(patch! _ data)
(get _)
(get _ params)
(post! _ data)
(head _)
(delete! _)
(put! _ data)
(with-keywords m)
Given a map m
, returns a map preserving the original keys and appending
keywords for each non-keyword field. Example:
(with-keywords {"a" "b"}) ;;=> {"a" "b" ;; :a "b"}
Given a map `m`, returns a map preserving the original keys and appending keywords for each non-keyword field. Example: (with-keywords {"a" "b"}) ;;=> {"a" "b" ;; :a "b"}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close