Soenneker.LaunchDarkly.HttpClients
4.0.81
Prefix Reserved
dotnet add package Soenneker.LaunchDarkly.HttpClients --version 4.0.81
NuGet\Install-Package Soenneker.LaunchDarkly.HttpClients -Version 4.0.81
<PackageReference Include="Soenneker.LaunchDarkly.HttpClients" Version="4.0.81" />
<PackageVersion Include="Soenneker.LaunchDarkly.HttpClients" Version="4.0.81" />
<PackageReference Include="Soenneker.LaunchDarkly.HttpClients" />
paket add Soenneker.LaunchDarkly.HttpClients --version 4.0.81
#r "nuget: Soenneker.LaunchDarkly.HttpClients, 4.0.81"
#:package Soenneker.LaunchDarkly.HttpClients@4.0.81
#addin nuget:?package=Soenneker.LaunchDarkly.HttpClients&version=4.0.81
#tool nuget:?package=Soenneker.LaunchDarkly.HttpClients&version=4.0.81
Soenneker.LaunchDarkly.HttpClients
Reuse an authenticated HTTP client for LaunchDarkly's management API.
Install
dotnet add package Soenneker.LaunchDarkly.HttpClients
Configure and register
{ "LaunchDarkly": { "ApiKey": "<access token>" } }
The defaults target https://app.launchdarkly.com/api/v2 and send the token directly in the Authorization header. You can override ClientBaseUrl, AuthHeaderName, and AuthHeaderValueTemplate under LaunchDarkly; use {token} in the template.
services.AddLaunchDarklyOpenApiHttpClientAsSingleton();
Use the scoped registration only when each scope should own its transport. Provider instances use isolated cache keys, so disposing one scope removes only its own client.
HttpClient client = await launchDarklyHttpClient.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync("projects", cancellationToken);
response.EnsureSuccessStatusCode();
The provider owns the cached client. Let the service container dispose the provider.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.910)
- Soenneker.Utils.HttpClientCache (>= 4.0.2128)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.LaunchDarkly.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.LaunchDarkly.OpenApiClientUtil
Provides a lazily created LaunchDarkly generated client over the shared authenticated transport |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.81 | 163 | 10/15/2026 |
| 4.0.80 | 83 | 10/15/2026 |
| 4.0.79 | 74 | 10/15/2026 |
| 4.0.78 | 94 | 10/14/2026 |
| 4.0.76 | 96 | 10/14/2026 |
| 4.0.75 | 94 | 10/14/2026 |
| 4.0.68 | 114 | 10/13/2026 |
| 4.0.65 | 113 | 10/12/2026 |
| 4.0.64 | 118 | 10/12/2026 |
| 4.0.63 | 110 | 10/11/2026 |
| 4.0.62 | 85 | 10/11/2026 |
| 4.0.61 | 147 | 10/9/2026 |
| 4.0.60 | 146 | 10/1/2026 |
| 4.0.59 | 108 | 9/29/2026 |
| 4.0.58 | 118 | 9/29/2026 |
| 4.0.57 | 116 | 9/26/2026 |
| 4.0.56 | 116 | 9/26/2026 |
| 4.0.55 | 102 | 9/25/2026 |
| 4.0.53 | 115 | 9/25/2026 |
| 4.0.52 | 121 | 9/24/2026 |
Updated NuGet packages