Rn.NetCore.BasicHttp
6.0.1.103
dotnet add package Rn.NetCore.BasicHttp --version 6.0.1.103
NuGet\Install-Package Rn.NetCore.BasicHttp -Version 6.0.1.103
<PackageReference Include="Rn.NetCore.BasicHttp" Version="6.0.1.103" />
paket add Rn.NetCore.BasicHttp --version 6.0.1.103
#r "nuget: Rn.NetCore.BasicHttp, 6.0.1.103"
// Install Rn.NetCore.BasicHttp as a Cake Addin #addin nuget:?package=Rn.NetCore.BasicHttp&version=6.0.1.103 // Install Rn.NetCore.BasicHttp as a Cake Tool #tool nuget:?package=Rn.NetCore.BasicHttp&version=6.0.1.103
Rn.NetCore.BasicHttp
Common Http abstraction for your applications
Source code for the project can be found here.
Usage
Using the package is as simple as registering the required types with your DI
container of choice.
services
.AddSingleton<IConfiguration>(config)
.AddSingleton<IHttpClientFactory, HttpClientFactory>()
Injecting an instance of the IHttpClientFactory
where required, and calling the .GetHttpClient()
method to get a new instance of the HttpClientWrapper
class (backed by IHttpClient
).
When it comes to testing, all you need to do is mock the IHttpClientFactory
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- Rn.NetCore.Common (>= 6.1.0.100)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rn.NetCore.BasicHttp:
Package | Downloads |
---|---|
DocumentSink.ClientLib
Companion client for my Document Sink API |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.1.103 | 354 | 1/3/2023 |
6.0.1.102 | 463 | 7/27/2022 |
6.0.1.100 | 498 | 5/10/2022 |
6.0.0.107 | 446 | 5/2/2022 |
6.0.0.106 | 414 | 5/2/2022 |
6.0.0.105 | 406 | 5/2/2022 |
6.0.0.104 | 401 | 5/2/2022 |
6.0.0.103 | 418 | 5/2/2022 |
6.0.0.102 | 551 | 1/6/2022 |
6.0.0.101 | 243 | 1/5/2022 |
6.0.0.100 | 6,051 | 11/23/2021 |
5.0.0.100 | 741 | 11/19/2021 |