Fork me on GitHub
#yada
<
2018-09-15
>
fmn03:09:09

Hi, as a beginner in yada, I have a couple of questions: 1. How do you apply ring middleware? To be more specific, let's say I have a ring middleware that increments a counter everytime a request is coming, if middleware is out of the question, how do you deal with this? 2. How do you alter the generated response?

borkdude11:09:42

@funyako.funyao156 1) write an interceptor for it 2) write an interceptor for it 🙂

borkdude11:09:54

3) you can also generate your own response. see the docs

fmn23:09:17

@borkdude Alright, thanks!