Soenneker.Composio.HttpClients
11.0.179
Prefix Reserved
dotnet add package Soenneker.Composio.HttpClients --version 11.0.179
NuGet\Install-Package Soenneker.Composio.HttpClients -Version 11.0.179
<PackageReference Include="Soenneker.Composio.HttpClients" Version="11.0.179" />
<PackageVersion Include="Soenneker.Composio.HttpClients" Version="11.0.179" />
<PackageReference Include="Soenneker.Composio.HttpClients" />
paket add Soenneker.Composio.HttpClients --version 11.0.179
#r "nuget: Soenneker.Composio.HttpClients, 11.0.179"
#:package Soenneker.Composio.HttpClients@11.0.179
#addin nuget:?package=Soenneker.Composio.HttpClients&version=11.0.179
#tool nuget:?package=Soenneker.Composio.HttpClients&version=11.0.179
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 | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.919)
- Soenneker.Utils.HttpClientCache (>= 11.0.2164)
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 |
|---|---|---|
| 11.0.179 | 80 | 11/19/2026 |
| 11.0.178 | 56 | 11/19/2026 |
| 11.0.177 | 68 | 11/19/2026 |
| 11.0.176 | 81 | 11/18/2026 |
| 11.0.174 | 81 | 11/18/2026 |
| 11.0.171 | 152 | 11/15/2026 |
| 11.0.170 | 107 | 11/15/2026 |
| 11.0.169 | 143 | 11/11/2026 |
| 11.0.168 | 107 | 11/11/2026 |
| 11.0.167 | 100 | 11/11/2026 |
| 11.0.166 | 117 | 11/11/2026 |
| 11.0.165 | 92 | 11/11/2026 |
| 11.0.164 | 222 | 11/3/2026 |
| 11.0.163 | 109 | 11/3/2026 |
| 11.0.162 | 105 | 11/3/2026 |
| 11.0.161 | 112 | 11/3/2026 |
| 11.0.160 | 111 | 11/3/2026 |
| 11.0.159 | 216 | 10/27/2026 |
| 11.0.158 | 100 | 10/27/2026 |
| 11.0.157 | 128 | 10/26/2026 |
Updated Multiple NuGet packages