Liking cljdoc? Tell your friends :D

peridot.core


authorizeclj

(authorize state user pass)

Set basic authorization to be used in future requests.

Set basic authorization to be used in future requests.
sourceraw docstring

content-typeclj

(content-type state value)

Set content-type to be sent for future requests.

Set content-type to be sent for future requests.
sourceraw docstring

follow-redirectclj

(follow-redirect state)

Follow the redirect from the previous response.

Follow the redirect from the previous response.
sourceraw docstring

(header state key value)

Set headers to be sent for future requests.

Set headers to be sent for future requests.
sourceraw docstring

requestclj

(request {:keys [app headers cookie-jar content-type]} uri & env)

Send a request to the ring app, returns state containing :response and :request sent to and returned from the ring app.

Send a request to the ring app, returns state containing :response and :request sent to and returned from the ring app.
sourceraw docstring

sessionclj

(session app & params)

Creates an initial state for passing through the api.

Creates an initial state for passing through the api.
sourceraw docstring

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

× close