The .NET Http is a versatile class library designed to simplify the process of converting objects into human-readable strings in .NET applications. This library provides developers with an easy-to-use interface for generating informative and understandable string representations of complex objects.
Supporting only .NET 8.0
To start using My .NET Http in your project, follow these steps:
- Install the library via NuGet Package Manager:
dotnet add package MyNet.Http
-
HTTP Method Support: Send HTTP requests using common methods such as GET, POST, PUT, DELETE, and more.
-
Request Configuration: Configure request headers, query parameters, request body, and authentication credentials easily using intuitive methods and parameters.
-
Response Handling: Process HTTP responses and extract response data, status codes, headers, and content efficiently for further processing.
-
HTTP Client Configuration: Customize HTTP client settings such as timeout, connection pooling, and proxy configuration to suit specific application requirements.
-
Middleware Integration: Seamlessly integrate with ASP.NET Core middleware pipeline or other middleware frameworks for advanced request processing and interception.
-
Async/Await Pattern: Utilize asynchronous programming patterns to send and handle HTTP requests asynchronously, ensuring responsive and efficient application performance.
-
Cancellation and Timeout Handling: Implement cancellation and timeout mechanisms to prevent long-running requests from blocking the application thread pool.
Copyright © Stéphane ANDRE.
My .NET Http is provided as-is under the MIT license. For more information see LICENSE.