Skip to content

sandre58/MyNetHttp

Repository files navigation


My .NET Http

Downloads Forks Stargazers Issues MIT License


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

Language Framework Version Build

Getting Started

To start using My .NET Http in your project, follow these steps:

  1. Install the library via NuGet Package Manager:
    dotnet add package MyNet.Http
    

What's included ?

Simple HTTP Requests

  • 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.

Flexibility and Customization

  • 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.

Asynchronous Support

  • 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.

License

Copyright © Stéphane ANDRE.

My .NET Http is provided as-is under the MIT license. For more information see LICENSE.

About

A versatile class library designed to simplify the consumption of Web APIs in .NET applications.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages