(bodypart-print response baos)
Prints out the data received from the streaming callback
Prints out the data received from the streaming callback
(exception-print response throwable)
Prints the string version of the throwable object
Prints the string version of the throwable object
(exception-rethrow response throwable)
Prints the string version of the throwable object
Prints the string version of the throwable object
(get-instagram-error-message response)
Interrogates a response for its twitter error message
Interrogates a response for its twitter error message
(handle-response response
callbacks
&
{:keys [events] :or {events #{:on-success :on-failure}}})
Takes a response and reacts to success or error. 'events' should be a set of keywords like #{:on-success :on-failure}
Takes a response and reacts to success or error. 'events' should be a set of keywords like #{:on-success :on-failure}
(response-return-body response)
This takes a response and returns the json-parsed body
This takes a response and returns the json-parsed body
(response-return-everything response & {:keys [to-json?] :or {to-json? true}})
This takes a response and returns a map of the headers and the json-parsed body
This takes a response and returns a map of the headers and the json-parsed body
(response-throw-error response)
Throws the supplied error in an exception
Throws the supplied error in an exception
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close