Liking cljdoc? Tell your friends :D

instagram.callbacks.handlers


bodypart-printclj

(bodypart-print response baos)

Prints out the data received from the streaming callback

Prints out the data received from the streaming callback
sourceraw docstring

exception-printclj

(exception-print response throwable)

Prints the string version of the throwable object

Prints the string version of the throwable object
sourceraw docstring

exception-rethrowclj

(exception-rethrow response throwable)

Prints the string version of the throwable object

Prints the string version of the throwable object
sourceraw docstring

get-instagram-error-messageclj

(get-instagram-error-message response)

Interrogates a response for its twitter error message

Interrogates a response for its twitter error message
sourceraw docstring

handle-responseclj

(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}
sourceraw docstring

response-return-bodyclj

(response-return-body response)

This takes a response and returns the json-parsed body

This takes a response and returns the json-parsed body
sourceraw docstring

response-return-everythingclj

(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
sourceraw docstring

response-throw-errorclj

(response-throw-error response)

Throws the supplied error in an exception

Throws the supplied error in an exception
sourceraw docstring

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

× close