When working with Nuxt, the `nitroApp` object inside plugins gives you access to various runtime hooks.
These hooks include `close`, `error`, `render:response`, `request`, `beforeResponse`, & `afterResponse`.
You can use these to run custom logic at different stages of the server lifecycle.