-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add extension method for IHttpExecuteInterceptor to create a DelegatingHandler #2453
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, this looks good
Great. Will wait for feedback from @EricStG, then write a quick integration test (e.g. listing Storage buckets), fill in docs etc - next week. |
…legatingHandler Fixes googleapis#2450
58f3501
to
ae5362d
Compare
Given the simplicity of the code, I've only added an integration test. Let me know if you'd like unit tests as well. |
(I can split the PR into two, one adding the interface to GoogleCredential and one adding the extension method, if that would be useful.) Once this is released, I'll add documentation to https://cloud.google.com/dotnet/docs/reference/help/rest-libraries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is a proposed plan for #2450
Lacking documentation and tests right now...
(Basically, this is all simple if folks have a concrete credential, as they all either implement IHttpExecuteInterceptor, or can do so very simply, such as GoogleCredential.)