Fork me on GitHub

Hi! Most of HTTP client like clj-http, clj-http-lite, http-kit and so on accept either connecton-timeout or socket-timeout parameters. I've check Aleph docs but don't see if its client accepts something like this. The question is, how can I specify a timeout in case the remote server responds slowly or even doesn't respond?


There are 3 separate timeouts - pool, connection, and request. They’re in the docstring for http/request -

☝️ 6