Is it possible to detect the end of a request? I'm writing a plugin/middleware (with fastify-plugin
) and I'm currently getting all the asset requests when I just want the route itself.
In Express I can place my middleware after the body parser and everything else so I get one request object. I'm quite new to fastify
and I like it a lot.