T
tRPC

Set Request Headers for individual requests?

Set Request Headers for individual requests?

VVolks5/7/2023
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.
Nnlucas5/7/2023
Include that information as part of the input, this isn’t REST, headers are for cross-cutting things like auth headers

Looking for more? Join the community!

T
tRPC

Set Request Headers for individual requests?

Join Server