Impl, don't call directly.
Common feature across the rest protocols (rest-json, rest-xml).
Impl, don't call directly. Common feature across the rest protocols (rest-json, rest-xml).
(append-querystring uri shape args)
Append the map of arguments args to the uri's querystring.
Append the map of arguments args to the uri's querystring.
(build-http-request {:keys [shapes operations metadata] :as service}
{:keys [op request] :as op-map}
serialize-body-args)
(parse-body output-shape body parse-fn)
Parse the HTTP response body for response data.
Parse the HTTP response body for response data.
Parse a shape from an HTTP header value.
Parse a shape from an HTTP header value.
(parse-http-response service
{:keys [op] :as op-map}
{:keys [status body] :as http-response}
parse-body-str
parse-error)
(parse-non-payload-attrs {:keys [type members] :as output-shape}
{:keys [status headers] :as http-response})
Parse HTTP status and headers for response data.
Parse HTTP status and headers for response data.
(partition-args shape args)
Partition the arguments by their location.
Partition the arguments by their location.
Serialize a primitive shape in a HTTP header.
Serialize a primitive shape in a HTTP header.
(serialize-headers shape args)
Serialize the map of arguments into a map of HTTP headers.
Serialize the map of arguments into a map of HTTP headers.
Return a list of key-value pairs to serialize in the query string.
Return a list of key-value pairs to serialize in the query string.
(serialize-uri uri-template {:keys [required] :as input-shape} args)
Take a URI template, an input-shape, and a map of values and replace the parameters by their values. Throws if args is missing any keys that are required in input-shape.
Take a URI template, an input-shape, and a map of values and replace the parameters by their values. Throws if args is missing any keys that are required in input-shape.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close