on 10-04-2021 2:05 PM
Hello,
I have an express application which is launching cds via cds.serve().
In my code I have a hook which intercepts the rest response before returning to the client and analyzes/logs it.
This is done by registering to the 'finish' event on the Response object:
res.on('finish', async () => { ....... });
My problem is that the 'finish' event is not called for the endpoints odata exposed by the cds service.
Does anyone has an idea about this issue?
Thanks a lot.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.