Skip to content

how to set http request header when using SQSClient #2457

Answered by ashishdhingra
mumutu66 asked this question in Q&A
Discussion options

You must be logged in to vote

@mumutu66 I suspect there is no way to add custom HTTP headers to the request object. Instead of having to manually add trace Id to header, have you tried example at https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-dotnet-sdkclients.html?

Thanks,
Ashish

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mumutu66
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. module/sdk-generated
2 participants