Skip to content

Instantly share code, notes, and snippets.

View arctouch-williamrodriguez's full-sized avatar
🏠
Working from home 🤓

William S. Rodriguez arctouch-williamrodriguez

🏠
Working from home 🤓
View GitHub Profile
@NeilBostrom
NeilBostrom / AWS4SignerMessageHandler.cs
Last active December 4, 2020 10:30
AWS AWS4Signer HttpClientHandler implementation with GraphQL client example
static async Task Main(string[] args)
{
var options = new GraphQLHttpClientOptions
{
EndPoint = new Uri("https://countries.trevorblades.com/"),
HttpMessageHandler = new AWS4SignerMessageHandler(
new AmazonAppSyncClient(),
"--awsAccessKeyId--",
"--awsSecretAccessKey--")
};