Skip to content

Instantly share code, notes, and snippets.

@josephwoodward
Created July 30, 2020 00:19
Show Gist options
  • Save josephwoodward/81b86b1bac6dc4886b30068745eefb44 to your computer and use it in GitHub Desktop.
Save josephwoodward/81b86b1bac6dc4886b30068745eefb44 to your computer and use it in GitHub Desktop.
var collection = new ServiceCollection()
.AddHttpClient("myNamedClient")
.AddPolicyHandler(GetRetryPolicy()); // here
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment