Liking cljdoc? Tell your friends :D

old-client.core


append-pathclj

(append-path url path)

Append path to url.

Append path to url.
raw docstring

get-request-funcclj

(get-request-func method)

Return a function that issues an HTTP request of with method.

Return a function that issues an HTTP request of with method.
raw docstring

issue-requestclj

(issue-request old-client method path)
(issue-request old-client method path body-map)
(issue-request old-client method path body-map query-params)

Send out an HTTP request and return its body as parsed JSON.

Send out an HTTP request and return its body as parsed JSON.
raw docstring

loginclj

(login old-client)

Issue a login request using old-client.

Issue a login request using old-client.
raw docstring

make-old-clientclj

(make-old-client & args)

Construct and return an OLDClient record, after attempting a login request.

Construct and return an OLDClient record, after attempting a login request.
raw docstring

oc-createclj

(oc-create old-client path body-map)

Issue an OLD Client POST request to path with body-map as the JSON-stringified request body.

Issue an OLD Client POST request to path with body-map as the
JSON-stringified request body.
raw docstring

oc-deleteclj

(oc-delete old-client path)

Issue an OLD Client DELETE request to path.

Issue an OLD Client DELETE request to path.
raw docstring

oc-getclj

(oc-get old-client path)
(oc-get old-client path query-params)

Issue an OLD Client GET request to path with optional query-params.

Issue an OLD Client GET request to path with optional query-params.
raw docstring

oc-postclj

(oc-post old-client path body-map)

Issue an OLD Client POST request to path with body-map as the JSON-stringified request body.

Issue an OLD Client POST request to path with body-map as the
JSON-stringified request body.
raw docstring

oc-putclj

(oc-put old-client path body-map)

Issue an OLD Client PUT request to path with body-map as the JSON-stringified request body.

Issue an OLD Client PUT request to path with body-map as the
JSON-stringified request body.
raw docstring

oc-updateclj

(oc-update old-client path body-map)

Issue an OLD Client PUT request to path with body-map as the JSON-stringified request body.

Issue an OLD Client PUT request to path with body-map as the
JSON-stringified request body.
raw docstring

path-to-urlclj

(path-to-url old-client path)

Convert path to a URL.

Convert path to a URL.
raw docstring

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

× close