Soenneker.Composio.HttpClients
4.0.123
Prefix Reserved
dotnet add package Soenneker.Composio.HttpClients --version 4.0.123
NuGet\Install-Package Soenneker.Composio.HttpClients -Version 4.0.123
<PackageReference Include="Soenneker.Composio.HttpClients" Version="4.0.123" />
<PackageVersion Include="Soenneker.Composio.HttpClients" Version="4.0.123" />
<PackageReference Include="Soenneker.Composio.HttpClients" />
paket add Soenneker.Composio.HttpClients --version 4.0.123
#r "nuget: Soenneker.Composio.HttpClients, 4.0.123"
#:package Soenneker.Composio.HttpClients@4.0.123
#addin nuget:?package=Soenneker.Composio.HttpClients&version=4.0.123
#tool nuget:?package=Soenneker.Composio.HttpClients&version=4.0.123
Soenneker.Composio.HttpClients
Provides a cached HttpClient configured for the Composio API with project API-key authentication.
Installation
dotnet add package Soenneker.Composio.HttpClients
Configuration
{
"Composio": {
"ApiKey": "your-project-api-key"
}
}
The client sends the key in x-api-key and uses https://backend.composio.dev as its base address. These defaults can be overridden with Composio:AuthHeaderName, Composio:AuthHeaderValueTemplate, and Composio:ClientBaseUrl. The value template must contain {token} when the configured API key should be inserted.
Registration and usage
using Soenneker.Composio.HttpClients.Abstract;
using Soenneker.Composio.HttpClients.Registrars;
services.AddComposioOpenApiHttpClientAsSingleton();
public sealed class ComposioService
{
private readonly IComposioOpenApiHttpClient _provider;
public ComposioService(IComposioOpenApiHttpClient provider)
{
_provider = provider;
}
public async Task<HttpResponseMessage> GetToolkits(CancellationToken cancellationToken)
{
HttpClient client = await _provider.Get(cancellationToken);
return await client.GetAsync("/api/v3/toolkits", cancellationToken);
}
}
Get returns the same cached client for the lifetime of the provider. The provider owns that client: disposing the provider removes and disposes its cache entry. Prefer the singleton registration for normal application use. The scoped registration creates an independently owned client for each scope.
| 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.895)
- Soenneker.Utils.HttpClientCache (>= 4.0.2088)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Composio.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Composio.OpenApiClientUtil
Provides a cached Composio OpenAPI client backed by the configured Composio HttpClient. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.123 | 0 | 9/16/2026 |
| 4.0.122 | 30 | 9/16/2026 |
| 4.0.121 | 57 | 9/15/2026 |
| 4.0.120 | 87 | 9/13/2026 |
| 4.0.119 | 57 | 9/13/2026 |
| 4.0.118 | 69 | 9/13/2026 |
| 4.0.117 | 63 | 9/13/2026 |
| 4.0.115 | 71 | 9/12/2026 |
| 4.0.114 | 81 | 9/12/2026 |
| 4.0.113 | 141 | 9/9/2026 |
| 4.0.112 | 108 | 9/9/2026 |
| 4.0.111 | 106 | 9/9/2026 |
| 4.0.110 | 107 | 9/8/2026 |
| 4.0.109 | 128 | 9/8/2026 |
| 4.0.108 | 109 | 9/8/2026 |
| 4.0.107 | 108 | 9/7/2026 |
| 4.0.106 | 107 | 9/7/2026 |
| 4.0.105 | 124 | 9/7/2026 |
| 4.0.104 | 112 | 9/5/2026 |
| 4.0.103 | 98 | 9/5/2026 |