Soenneker.LaunchDarkly.HttpClients
11.0.83
Prefix Reserved
dotnet add package Soenneker.LaunchDarkly.HttpClients --version 11.0.83
NuGet\Install-Package Soenneker.LaunchDarkly.HttpClients -Version 11.0.83
<PackageReference Include="Soenneker.LaunchDarkly.HttpClients" Version="11.0.83" />
<PackageVersion Include="Soenneker.LaunchDarkly.HttpClients" Version="11.0.83" />
<PackageReference Include="Soenneker.LaunchDarkly.HttpClients" />
paket add Soenneker.LaunchDarkly.HttpClients --version 11.0.83
#r "nuget: Soenneker.LaunchDarkly.HttpClients, 11.0.83"
#:package Soenneker.LaunchDarkly.HttpClients@11.0.83
#addin nuget:?package=Soenneker.LaunchDarkly.HttpClients&version=11.0.83
#tool nuget:?package=Soenneker.LaunchDarkly.HttpClients&version=11.0.83
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 | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.914)
- 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 |
|---|---|---|
| 11.0.83 | 0 | 10/26/2026 |
| 11.0.82 | 0 | 10/26/2026 |
| 4.0.81 | 177 | 10/15/2026 |
| 4.0.80 | 84 | 10/15/2026 |
| 4.0.79 | 75 | 10/15/2026 |
| 4.0.78 | 95 | 10/14/2026 |
| 4.0.76 | 97 | 10/14/2026 |
| 4.0.75 | 96 | 10/14/2026 |
| 4.0.68 | 115 | 10/13/2026 |
| 4.0.65 | 120 | 10/12/2026 |
| 4.0.64 | 119 | 10/12/2026 |
| 4.0.63 | 111 | 10/11/2026 |
| 4.0.62 | 88 | 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 |
Update dependency Soenneker.Extensions.Configuration to 11.0.914 (#88)