HttpAgent 1.5.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package HttpAgent --version 1.5.9
                    
NuGet\Install-Package HttpAgent -Version 1.5.9
                    
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="HttpAgent" Version="1.5.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HttpAgent" Version="1.5.9" />
                    
Directory.Packages.props
<PackageReference Include="HttpAgent" />
                    
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 HttpAgent --version 1.5.9
                    
#r "nuget: HttpAgent, 1.5.9"
                    
#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 HttpAgent@1.5.9
                    
#: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=HttpAgent&version=1.5.9
                    
Install as a Cake Addin
#tool nuget:?package=HttpAgent&version=1.5.9
                    
Install as a Cake Tool

HttpAgent

license nuget dotNET China

HttpAgent is a high-performance, flexible, and user-friendly open-source library that provides comprehensive support for HTTP functionalities, including file transfer, polling, testing tools, real-time communication, request management, media type handling, MessagePack support, Declarative Requests, and more. It is characterized by low resource consumption and high test coverage.

HttpAgent.drawio

View High-Definition Architecture Diagram

Features

  • Comprehensive HTTP Method Support: Covers GET, POST, PUT, DELETE, PATCH, HEAD, TRACE and OPTIONS methods.
  • File Transfer Functionality: Supports file upload and download with real-time transfer progress monitoring.
  • Polling Mechanism: Supports standard polling and long polling with customizable polling intervals.
  • Testing Toolkit: Capable of stress testing, performance testing, and simulation testing with the ability to generate detailed test reports; supports configuration of the number of requests, concurrency levels, and test iteration counts.
  • HTTP Proxy and Microservice Integration: Supports HTTP proxy and request forwarding, suitable for integration development in microservice architectures.
  • Real-Time Communication Capability: Implements real-time data push via Server-Sent Events (SSE) and is compatible with WebSocket protocol.
  • Request Management and Log Auditing: Includes built-in request interception mechanisms and HTTP request log auditing functions.
  • Media Type Handling: Provides predefined handling mechanisms for mainstream MediaTypes and offers an open interface for custom handling.
  • Declarative Requests: Specifying the behavior of requests through simple attribute annotations or interface definitions.
  • MessagePack Support: Integrates MessagePack serialization and deserialization capabilities to enhance data exchange efficiency.
  • WebService Support: Comprehensive support for SOAP and RESTful WebService, including automatic client proxy generation, WSDL parsing, XML/JSON data binding, simplifying integration and interaction.
  • Flexible Response Transformation: Provides common HTTP response transformers and supports custom transformation logic.
  • High Performance and Resource Management: Employs memory optimization techniques and connection pool management to ensure low resource consumption and high performance.
  • Architecture Design: Flexible architecture design that is easy to use and extend.
  • Cross-Platform Independence: Supports cross-platform operation without external dependencies.
  • High-Quality Code Assurance: Adheres to high-standard coding practices, with unit and integration test coverage as high as 98%.
  • .NET 8+ Compatibility: Can be deployed and used in environments running .NET 8 and higher versions.

Installation

dotnet add package HttpAgent

Getting Started

We have many examples on our homepage. Here's your first one to get you started:

  1. Register HttpRemote service:
services.AddHttpRemote();
  1. Retrieve internet data:
public class YourService(IHttpRemoteService httpRemoteService)
{
    public async Task<string?> GetContent()
    {
        return await httpRemoteService.GetAsStringAsync("https://furion.net/");
    }
}

More Documentation

Documentation

You can find the HttpAgent documentation on our homepage.

Contributing

The main purpose of this repository is to continue developing the core of HttpAgent, making it faster and easier to use. The development of HttpAgent is publicly hosted on Gitee, and we appreciate community contributions for bug fixes and improvements.

License

HttpAgent is released under the MIT open source license.

alternate text is missing from this package README image

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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 HttpAgent:

Package Downloads
HttpAgent.AspNetCore

Furion 框架 HTTP 远程请求模块。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.9 125 12/26/2025
1.6.8 137 12/25/2025
1.6.7 176 12/23/2025
1.6.6 185 12/22/2025
1.6.5 279 12/18/2025
1.6.4 284 12/18/2025
1.6.3 310 12/7/2025
1.6.2 153 12/6/2025
1.6.1 182 12/5/2025
1.6.0 209 12/4/2025
1.5.9 204 12/4/2025
1.5.8 674 12/3/2025
1.5.7 674 12/3/2025
1.5.6 582 12/1/2025
1.5.5 596 12/1/2025
1.5.4 113 11/29/2025
1.5.3 122 11/29/2025
1.5.2 216 11/26/2025
1.5.1 195 11/26/2025
1.5.0 188 11/26/2025
1.4.0 194 11/26/2025
1.3.0 195 11/25/2025
1.2.7 197 11/25/2025
1.2.6 201 11/25/2025
1.2.5 192 11/25/2025
1.2.4 192 11/24/2025
1.2.3 403 11/18/2025
1.2.2 423 11/15/2025 1.2.2 is deprecated because it is no longer maintained and has critical bugs.
1.2.1 535 11/12/2025 1.2.1 is deprecated because it is no longer maintained and has critical bugs.
1.2.0 530 11/12/2025 1.2.0 is deprecated because it is no longer maintained and has critical bugs.
1.1.1 411 11/6/2025 1.1.1 is deprecated because it is no longer maintained and has critical bugs.
1.1.0 408 11/5/2025 1.1.0 is deprecated because it is no longer maintained and has critical bugs.
1.0.79 404 11/4/2025 1.0.79 is deprecated because it is no longer maintained and has critical bugs.
1.0.78 413 10/30/2025 1.0.78 is deprecated because it is no longer maintained and has critical bugs.
1.0.77 399 10/26/2025 1.0.77 is deprecated because it is no longer maintained and has critical bugs.
1.0.76 397 10/16/2025 1.0.76 is deprecated because it is no longer maintained and has critical bugs.
1.0.75 396 10/15/2025 1.0.75 is deprecated because it is no longer maintained and has critical bugs.
1.0.74 393 10/14/2025 1.0.74 is deprecated because it is no longer maintained and has critical bugs.
1.0.73 409 10/7/2025 1.0.73 is deprecated because it is no longer maintained and has critical bugs.
1.0.72 333 10/4/2025 1.0.72 is deprecated because it is no longer maintained and has critical bugs.
1.0.71 402 9/29/2025 1.0.71 is deprecated because it is no longer maintained and has critical bugs.
1.0.70 390 9/28/2025 1.0.70 is deprecated because it is no longer maintained and has critical bugs.
1.0.69 550 9/18/2025 1.0.69 is deprecated because it is no longer maintained and has critical bugs.
1.0.68 530 9/17/2025 1.0.68 is deprecated because it is no longer maintained and has critical bugs.
1.0.67 538 9/16/2025 1.0.67 is deprecated because it is no longer maintained and has critical bugs.
1.0.66 515 9/15/2025 1.0.66 is deprecated because it is no longer maintained and has critical bugs.
1.0.65 424 9/10/2025 1.0.65 is deprecated because it is no longer maintained and has critical bugs.
1.0.64 416 9/2/2025 1.0.64 is deprecated because it is no longer maintained and has critical bugs.
1.0.63 399 9/1/2025 1.0.63 is deprecated because it is no longer maintained and has critical bugs.
1.0.62 440 8/30/2025 1.0.62 is deprecated because it is no longer maintained and has critical bugs.
1.0.61 442 8/28/2025 1.0.61 is deprecated because it is no longer maintained and has critical bugs.
1.0.60 439 8/28/2025 1.0.60 is deprecated because it is no longer maintained and has critical bugs.
1.0.59 433 8/13/2025 1.0.59 is deprecated because it is no longer maintained and has critical bugs.
1.0.58 780 7/24/2025 1.0.58 is deprecated because it is no longer maintained and has critical bugs.
1.0.57 697 7/22/2025 1.0.57 is deprecated because it is no longer maintained and has critical bugs.
1.0.56 239 7/19/2025 1.0.56 is deprecated because it is no longer maintained and has critical bugs.
1.0.55 316 7/17/2025 1.0.55 is deprecated because it is no longer maintained and has critical bugs.
1.0.54 331 7/9/2025 1.0.54 is deprecated because it is no longer maintained and has critical bugs.
1.0.53 322 7/8/2025 1.0.53 is deprecated because it is no longer maintained and has critical bugs.
1.0.52 274 7/4/2025 1.0.52 is deprecated because it is no longer maintained and has critical bugs.
1.0.51 328 7/3/2025 1.0.51 is deprecated because it is no longer maintained and has critical bugs.
1.0.50 363 6/25/2025 1.0.50 is deprecated because it is no longer maintained and has critical bugs.
1.0.49 372 6/23/2025 1.0.49 is deprecated because it is no longer maintained and has critical bugs.
1.0.48 394 6/19/2025 1.0.48 is deprecated because it is no longer maintained and has critical bugs.
1.0.47 342 5/30/2025 1.0.47 is deprecated because it is no longer maintained and has critical bugs.
1.0.46 425 5/22/2025 1.0.46 is deprecated because it is no longer maintained and has critical bugs.
1.0.45 224 5/21/2025 1.0.45 is deprecated because it is no longer maintained and has critical bugs.
1.0.44 352 5/15/2025 1.0.44 is deprecated because it is no longer maintained and has critical bugs.
1.0.43 338 5/13/2025 1.0.43 is deprecated because it is no longer maintained and has critical bugs.
1.0.42 304 5/12/2025 1.0.42 is deprecated because it is no longer maintained and has critical bugs.
1.0.41 299 5/12/2025 1.0.41 is deprecated because it is no longer maintained and has critical bugs.
1.0.40 239 5/1/2025 1.0.40 is deprecated because it is no longer maintained and has critical bugs.
1.0.39 233 5/1/2025 1.0.39 is deprecated because it is no longer maintained and has critical bugs.
1.0.38 242 4/27/2025 1.0.38 is deprecated because it is no longer maintained and has critical bugs.
1.0.37 175 4/26/2025 1.0.37 is deprecated because it is no longer maintained and has critical bugs.
1.0.36 163 4/25/2025 1.0.36 is deprecated because it is no longer maintained and has critical bugs.
1.0.35 264 4/22/2025 1.0.35 is deprecated because it is no longer maintained and has critical bugs.
1.0.34 266 4/20/2025 1.0.34 is deprecated because it is no longer maintained and has critical bugs.
1.0.33 281 4/17/2025 1.0.33 is deprecated because it is no longer maintained and has critical bugs.
1.0.32 284 4/16/2025 1.0.32 is deprecated because it is no longer maintained and has critical bugs.
1.0.31 300 4/13/2025 1.0.31 is deprecated because it is no longer maintained and has critical bugs.
1.0.30 226 4/11/2025 1.0.30 is deprecated because it is no longer maintained and has critical bugs.
1.0.29 274 4/1/2025 1.0.29 is deprecated because it is no longer maintained and has critical bugs.
1.0.28 559 3/24/2025 1.0.28 is deprecated because it is no longer maintained and has critical bugs.
1.0.27 404 3/23/2025 1.0.27 is deprecated because it is no longer maintained and has critical bugs.
1.0.26 286 3/23/2025 1.0.26 is deprecated because it is no longer maintained and has critical bugs.
1.0.25 294 3/22/2025 1.0.25 is deprecated because it is no longer maintained and has critical bugs.
1.0.24 216 3/22/2025 1.0.24 is deprecated because it is no longer maintained and has critical bugs.
1.0.23 282 3/14/2025 1.0.23 is deprecated because it is no longer maintained and has critical bugs.
1.0.22 290 3/13/2025 1.0.22 is deprecated because it is no longer maintained and has critical bugs.
1.0.21 367 3/4/2025 1.0.21 is deprecated because it is no longer maintained and has critical bugs.
1.0.19 243 3/2/2025 1.0.19 is deprecated because it is no longer maintained and has critical bugs.
1.0.18 232 3/1/2025 1.0.18 is deprecated because it is no longer maintained and has critical bugs.
1.0.17 239 2/28/2025 1.0.17 is deprecated because it is no longer maintained and has critical bugs.
1.0.16 324 2/27/2025 1.0.16 is deprecated because it is no longer maintained and has critical bugs.
1.0.15 246 2/27/2025 1.0.15 is deprecated because it is no longer maintained and has critical bugs.
1.0.14 239 2/26/2025 1.0.14 is deprecated because it is no longer maintained and has critical bugs.
1.0.13 255 2/25/2025 1.0.13 is deprecated because it is no longer maintained and has critical bugs.
1.0.12 239 2/25/2025 1.0.12 is deprecated because it is no longer maintained and has critical bugs.
1.0.11 229 2/25/2025 1.0.11 is deprecated because it is no longer maintained and has critical bugs.
1.0.10 241 2/25/2025 1.0.10 is deprecated because it is no longer maintained and has critical bugs.
1.0.9.1 244 2/23/2025 1.0.9.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.9 273 2/21/2025 1.0.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.8.5 239 2/19/2025 1.0.8.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.8.4 240 2/19/2025 1.0.8.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.8.3 246 2/17/2025 1.0.8.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.8.2 260 1/25/2025 1.0.8.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.8.1 233 1/23/2025 1.0.8.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.8 248 1/22/2025 1.0.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.7.4 281 1/4/2025 1.0.7.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.7.3 259 12/26/2024 1.0.7.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.7.2 253 12/26/2024 1.0.7.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.7.1 287 12/24/2024 1.0.7.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.7 243 12/23/2024 1.0.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.6.6 255 12/17/2024 1.0.6.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.6.5 274 12/10/2024 1.0.6.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.6.4 274 12/6/2024 1.0.6.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.6.3 246 12/5/2024 1.0.6.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.6.2 322 12/3/2024 1.0.6.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.6.1 189 12/3/2024 1.0.6.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.6 208 12/2/2024 1.0.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.8 182 12/2/2024 1.0.5.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.7 176 12/2/2024 1.0.5.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.6 176 12/1/2024 1.0.5.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.5 198 11/30/2024 1.0.5.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.4 199 11/29/2024 1.0.5.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.3 198 11/28/2024 1.0.5.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.2 198 11/28/2024 1.0.5.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.1 207 11/27/2024 1.0.5.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.5 199 11/26/2024 1.0.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.10 211 11/25/2024 1.0.4.10 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.9 195 11/25/2024 1.0.4.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.8 192 11/24/2024 1.0.4.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.7 197 11/21/2024 1.0.4.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.6 198 11/20/2024 1.0.4.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.5 186 11/18/2024 1.0.4.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.4 195 11/18/2024 1.0.4.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.3 189 11/17/2024 1.0.4.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.2 197 11/16/2024 1.0.4.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.1 197 11/15/2024 1.0.4.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.4 206 11/14/2024 1.0.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.9 201 11/14/2024 1.0.3.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.8 144 11/12/2024 1.0.3.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.7 137 11/12/2024 1.0.3.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.6 146 11/11/2024 1.0.3.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.5 157 11/11/2024 1.0.3.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.4 154 11/11/2024 1.0.3.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.3 154 11/11/2024 1.0.3.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.2 142 11/10/2024 1.0.3.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.1 145 11/10/2024 1.0.3.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.3 144 11/10/2024 1.0.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.9 146 11/9/2024 1.0.2.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.8 159 11/9/2024 1.0.2.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.7 160 11/7/2024 1.0.2.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.6 142 11/6/2024 1.0.2.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.5 155 11/5/2024 1.0.2.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.4 144 11/4/2024 1.0.2.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.3 151 11/2/2024 1.0.2.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.2 149 11/1/2024 1.0.2.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.1 142 10/30/2024 1.0.2.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.2 139 10/30/2024 1.0.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.7 132 10/27/2024 1.0.1.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.6 144 10/27/2024 1.0.1.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.5 147 10/27/2024 1.0.1.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.4 145 10/27/2024 1.0.1.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.3 136 10/24/2024 1.0.1.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.2 152 10/24/2024 1.0.1.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.1 144 10/23/2024 1.0.1.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.1 142 10/23/2024 1.0.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.9 144 10/23/2024 1.0.0.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.8 150 10/21/2024 1.0.0.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.7 147 10/16/2024 1.0.0.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.6 141 10/15/2024 1.0.0.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.5 149 10/15/2024 1.0.0.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.4 145 10/14/2024 1.0.0.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.3 146 10/14/2024 1.0.0.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.2 158 10/11/2024 1.0.0.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.1 148 10/10/2024 1.0.0.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.0 148 10/10/2024 1.0.0 is deprecated because it is no longer maintained and has critical bugs.