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
-
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