Liking cljdoc? Tell your friends :D

com.moclojer.components.http


HttpProvidercljprotocol

requestclj

(request this request-input ctx)

request-or-throwclj

(request-or-throw this req expected-status ctx)
source

request-fnclj

(request-fn {:keys [url] :as req} & [respond raise])

Accepts :req which should be a map containing the following keys: :url - string, containing the http address requested :method - keyword, contatining one of the following options: #{:get :head :post :put :delete :options :copy :move :patch}

The following keys make an async HTTP request, like ring's CPS handler.

  • :respond
  • :raise
Accepts :req which should be a map containing the following keys:
:url - string, containing the http address requested
:method - keyword, contatining one of the following options:
  #{:get :head :post :put :delete :options :copy :move :patch}

The following keys make an async HTTP request, like ring's CPS handler.
* :respond
* :raise
sourceraw docstring

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

× close