Liking cljdoc? Tell your friends :D

clostack.client

A mostly generated wrapper to the CloudStack API.

A mostly generated wrapper to the CloudStack API.
raw docstring

api-nameclj

(api-name s)

Given a hyphenated name, yield a camel case one

Given a hyphenated name, yield a camel case one
sourceraw docstring

async-requestclj

(async-request client opcode handler)
(async-request {:keys [config opts]} opcode args handler)

Asynchronous request, will execute handler when response comes back.

Asynchronous request, will execute handler when response comes back.
sourceraw docstring

http-clientclj

(http-client)
(http-client {:keys [config opts] :or {opts {}}})

Create an HTTP client

Create an HTTP client
sourceraw docstring

paging-requestclj

(paging-request client op)
(paging-request client op args)
(paging-request client op args page width)

Perform a paging request. Elements are fetched by chunks of 500.

Perform a paging request. Elements are fetched by chunks of 500.
sourceraw docstring

polling-requestclj

(polling-request client jobid)

Perform a polling request, in a blocking fashion. Fetches are done every second.

Perform a polling request, in a blocking fashion. Fetches are done every second.
sourceraw docstring

requestclj

(request client opcode)
(request client opcode args)

Perform a synchronous HTTP request against the API

Perform a synchronous HTTP request against the API
sourceraw docstring

with-responsecljmacro

(with-response [sym client opcode args] & body)

Perform an asynchronous response, using body as the function body to execute.

Perform an asynchronous response, using body as the function body
to execute.
sourceraw docstring

wrap-bodyclj

(wrap-body body resp handler)

Ensure that response is JSON-formatted, if so parse it

Ensure that response is JSON-formatted, if so parse it
sourceraw docstring

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

× close