Namespace for handling all the RESTful calls to the other services with the connection pool being passed in to all calls.
Namespace for handling all the RESTful calls to the other services with the connection pool being passed in to all calls.
(do-get url & [opts])
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it as-is to the caller. This version catches the exceptions and logs them.
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it as-is to the caller. This version catches the exceptions and logs them.
(do-get* url & [opts])
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it to the caller period.
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it to the caller period.
(do-post url body & [opts])
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it as-is. This version catches the exceptions and logs them.
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it as-is. This version catches the exceptions and logs them.
(do-post* url body & [opts])
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it as-is to the caller.
Function to use the connection manager to save time, but NOT retry if we fail on getting the data - we just don't have the time. If we get something, then we need to return it as-is to the caller.
(try-times n & body)
Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown a nil is returned - it's the best we can do for a reader that's having problems.
Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown a nil is returned - it's the best we can do for a reader that's having problems.
(try-times* n func)
Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown a nil is returned - it's the best we can do for a reader that's having problems.
Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown a nil is returned - it's the best we can do for a reader that's having problems.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close