Read response headers on the client
Ive been searching for a while trying to figure out how to access response headers on the client. Found this Github issue, but it has no responses (https://github.com/trpc/trpc/discussions/3866). Anyone got an example of how to read the response headers on the client?
Solution:
Jump to solution
This seems to be working. but not sure if I break some magic sauce by doing it..
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1115565818458152980/image.png)
2 Replies