Fork me on GitHub
#aleph
<
2018-06-01
>
rborer10:06:34

Hey folks, I'm trying to understand how to add a custom client middleware for a request (as documented under https://github.com/ztellman/aleph/blob/98e878946a97fd020a63cc43ee6e740c712ad188/src/aleph/http.clj#L234) and I don't see how I'm supposed to use it? Obviously, :middleware should be a single-arity function, but what does it receive?

rborer10:06:38

Nevermind, I figured it out by looking at unit tests 🙂