docs "typed client" example #26875
chrisxfire
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, in the doc here, the example to register the client is:
builder.Services.AddHttpClient<GitHubService>();
Shouldn't this be
builder.Services.AddHttpClient<GitHubService>().AddTypedClient<GitHubService>();
?Beta Was this translation helpful? Give feedback.
All reactions