From f396596813eef26d8d922abfeef0d042588b1b0c Mon Sep 17 00:00:00 2001 From: JW Wesson <73966849+sovren-jwesson@users.noreply.github.com> Date: Thu, 1 May 2025 13:20:07 -0500 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a468deae..79d19a99 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ builder.Services.AddSingleton(_ => new TxClientSettings AccountId = "12345678", ServiceKey = "abcdefghijklmnopqrstuvwxyz", DataCenter = DataCenter.US -}; +}); builder.Services.AddHttpClient(); ``` After injecting your TxClient, you will be able to get it from the service provider: @@ -106,4 +106,4 @@ Additionally, there are `TxUsableResumeException` and `TxUsableJobException` whi [docfx-txclient]: https://textkernel.github.io/tx-dotnet/sdk/Textkernel.Tx.ITxClient.html [http-client]: https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient [http-client-guidelines]: https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/http/httpclient-guidelines -[http-extensions]: https://www.nuget.org/packages/Microsoft.Extensions.Http \ No newline at end of file +[http-extensions]: https://www.nuget.org/packages/Microsoft.Extensions.Http