Liking cljdoc? Tell your friends :D

httpurr.client

The HTTP client. This namespace provides a low-level send! primitive for performing requests as well as aliases for all the HTTP methods.

The HTTP client. This namespace provides a low-level `send!` primitive for
performing requests as well as aliases for all the HTTP methods.
raw docstring

deleteclj/s

source

getclj/s

source

source

keyword->methodclj/s

source

methodclj/s

(method m)
source

optionsclj/s

source

patchclj/s

source

postclj/s

source

putclj/s

source

request->promiseclj/s

(request->promise request)

Given a object that implements httpurr.protocols.Request, return a promise that will be resolved if there is a response and rejected on timeout, exceptions, HTTP errors or abortions.

Given a object that implements `httpurr.protocols.Request`,
return a promise that will be resolved if there is a
response and rejected on timeout, exceptions, HTTP errors
or abortions.
sourceraw docstring

send!clj/s

(send! client request)
(send! client request options)

Given a request map and maybe an options map, perform the request and return a promise that will be resolved when receiving the response.

If the request timeouts, throws an exception or is aborted the promise will be rejected.

The available options are:

  • :timeout: a timeout for the request in miliseconds
Given a request map and maybe an options map, perform
the request and return a promise that will be resolved
when receiving the response.

If the request timeouts, throws an exception or is aborted
the promise will be rejected.

The available options are:
   - `:timeout`: a timeout for the request in miliseconds
sourceraw docstring

traceclj/s

source

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

× close