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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Composio.HttpClients" Version="4.0.123" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Composio.HttpClients" Version="4.0.123" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Composio.HttpClients" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Composio.HttpClients --version 4.0.123
                    
#r "nuget: Soenneker.Composio.HttpClients, 4.0.123"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Composio.HttpClients@4.0.123
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Composio.HttpClients&version=4.0.123
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Composio.HttpClients&version=4.0.123
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed