HttpAgent.AspNetCore 1.0.8.3

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

// Install HttpAgent.AspNetCore as a Cake Tool
#tool nuget:?package=HttpAgent.AspNetCore&version=1.0.8.3                

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8.5 16 2/19/2025
1.0.8.4 28 2/19/2025
1.0.8.3 67 2/17/2025
1.0.8.2 66 1/25/2025
1.0.8.1 67 1/23/2025
1.0.8 67 1/22/2025
1.0.7.4 114 1/4/2025
1.0.7.3 83 12/26/2024
1.0.7.2 82 12/26/2024
1.0.7.1 90 12/24/2024
1.0.7 79 12/23/2024
1.0.6.6 92 12/17/2024
1.0.6.5 90 12/10/2024
1.0.6.4 97 12/6/2024
1.0.6.3 93 12/5/2024
1.0.6.2 157 12/3/2024
1.0.6.1 105 12/3/2024 1.0.6.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.6 100 12/2/2024 1.0.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.8 91 12/2/2024 1.0.5.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.7 82 12/2/2024 1.0.5.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.6 95 12/1/2024 1.0.5.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.5 97 11/30/2024 1.0.5.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.4 107 11/29/2024 1.0.5.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.3 107 11/28/2024 1.0.5.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.2 110 11/28/2024 1.0.5.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.5.1 110 11/27/2024 1.0.5.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.5 113 11/26/2024 1.0.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.10 112 11/25/2024 1.0.4.10 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.9 118 11/25/2024 1.0.4.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.8 109 11/24/2024 1.0.4.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.7 109 11/21/2024 1.0.4.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.6 119 11/20/2024 1.0.4.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.5 109 11/18/2024 1.0.4.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.4 108 11/18/2024 1.0.4.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.3 100 11/17/2024 1.0.4.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.2 110 11/16/2024 1.0.4.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.4.1 111 11/15/2024 1.0.4.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.4 108 11/14/2024 1.0.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.9 107 11/14/2024 1.0.3.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.8 116 11/12/2024 1.0.3.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.7 114 11/12/2024 1.0.3.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.6 126 11/11/2024 1.0.3.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.5 125 11/11/2024 1.0.3.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.4 119 11/11/2024 1.0.3.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.3 123 11/11/2024 1.0.3.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.2 113 11/10/2024 1.0.3.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.3.1 115 11/10/2024 1.0.3.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.3 116 11/10/2024 1.0.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.9 113 11/9/2024 1.0.2.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.8 119 11/9/2024 1.0.2.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.7 121 11/7/2024 1.0.2.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.6 111 11/6/2024 1.0.2.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.5 127 11/5/2024 1.0.2.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.4 118 11/4/2024 1.0.2.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.3 123 11/2/2024 1.0.2.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.2 119 11/1/2024 1.0.2.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.2.1 116 10/30/2024 1.0.2.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.2 108 10/30/2024 1.0.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.7 109 10/27/2024 1.0.1.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.6 113 10/27/2024 1.0.1.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.5 111 10/27/2024 1.0.1.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.4 109 10/27/2024 1.0.1.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.3 106 10/24/2024 1.0.1.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.2 115 10/24/2024 1.0.1.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.1.1 117 10/23/2024 1.0.1.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.1 117 10/23/2024 1.0.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.9 111 10/23/2024 1.0.0.9 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.8 108 10/21/2024 1.0.0.8 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.7 122 10/16/2024 1.0.0.7 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.6 120 10/15/2024 1.0.0.6 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.5 121 10/15/2024 1.0.0.5 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.4 116 10/14/2024 1.0.0.4 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.3 111 10/14/2024 1.0.0.3 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.2 112 10/11/2024 1.0.0.2 is deprecated because it is no longer maintained and has critical bugs.
1.0.0.1 128 10/10/2024 1.0.0.1 is deprecated because it is no longer maintained and has critical bugs.
1.0.0 122 10/10/2024 1.0.0 is deprecated because it is no longer maintained and has critical bugs.