Obtaining response headers in middleware



I am writing a downstream middleware that logs all headers in response.
After reading docs and read-through “@adonisjs/framework/src/Response”, I am still unable to find any method / way to obtain all response headers.

Is there any suggestion / recommendation on how I should do this?


1 Like