(request this request-input ctx)
(request-or-throw this req expected-status ctx)
(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.
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close