volks
volks2y ago

Set Request Headers for individual requests?

Hello everyone, I have a simple question, can you somehow add headers to the individual requests instead of doing it once during setup of the tRPC? I would like to have custom per request header that I cannot know ahead of time.
1 Reply
Nick
Nick2y ago
Include that information as part of the input, this isn’t REST, headers are for cross-cutting things like auth headers