(add-params builder params location)Helper fn for adding parameters to OkHttp Builders.
Helper fn for adding parameters to OkHttp Builders.
(build-request {:keys [method url query headers path body]})Builds a Request object for OkHttp.
Builds a Request object for OkHttp.
(fetch {:keys [conn as-stream?] :as args})Performs the request.
If :as-stream? is passed as true, returns an InputStream.
Performs the request. If :as-stream? is passed as true, returns an InputStream.
(interpolate-path path value-map)Replaces all occurrences of {k1}, {k2} ... with the value map provided.
Example: given a/path/{id}/on/{not-this}/root/{id} and {:id hello} results in: a/path/hello/{not-this}/root/hello.
Replaces all occurrences of {k1}, {k2} ... with the value map provided.
Example:
given a/path/{id}/on/{not-this}/root/{id} and {:id hello}
results in: a/path/hello/{not-this}/root/hello.(stream->req-body stream)Converts an InputStream to OkHttp RequestBody.
Converts an InputStream to OkHttp RequestBody.
(unix-socket-client path)Constructs a client for a UNIX socket
Constructs a client for a UNIX socket
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 |