Liking cljdoc? Tell your friends :D

clj-docker-client.requests


add-paramsclj

(add-params builder params location)

Helper fn for adding parameters to OkHttp Builders.

Helper fn for adding parameters to OkHttp Builders.
sourceraw docstring

build-requestclj

(build-request {:keys [method url query headers path body]})

Builds a Request object for OkHttp.

Builds a Request object for OkHttp.
sourceraw docstring

fetchclj

(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.
sourceraw docstring

interpolate-pathclj

(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.
sourceraw docstring

stream->req-bodyclj

(stream->req-body stream)

Converts an InputStream to OkHttp RequestBody.

Converts an InputStream to OkHttp RequestBody.
sourceraw docstring

unix-socket-clientclj

(unix-socket-client path)

Constructs a client for a UNIX socket

Constructs a client for a UNIX socket
sourceraw docstring

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

× close