qckdev.Net.Http
0.6.0-beta
See the version list below for details.
dotnet add package qckdev.Net.Http --version 0.6.0-beta
NuGet\Install-Package qckdev.Net.Http -Version 0.6.0-beta
<PackageReference Include="qckdev.Net.Http" Version="0.6.0-beta" />
paket add qckdev.Net.Http --version 0.6.0-beta
#r "nuget: qckdev.Net.Http, 0.6.0-beta"
// Install qckdev.Net.Http as a Cake Addin #addin nuget:?package=qckdev.Net.Http&version=0.6.0-beta&prerelease // Install qckdev.Net.Http as a Cake Tool #tool nuget:?package=qckdev.Net.Http&version=0.6.0-beta&prerelease
<a href="https://www.nuget.org/packages/qckdev.Net.Http"><img src="https://img.shields.io/nuget/v/qckdev.Net.Http.svg" alt="NuGet Version"/></a> <a href="https://sonarcloud.io/dashboard?id=qckdev.Net.Http"><img src="https://sonarcloud.io/api/project_badges/measure?project=qckdev.Net.Http&metric=alert_status" alt="Quality Gate"/></a> <a href="https://sonarcloud.io/dashboard?id=qckdev.Net.Http"><img src="https://sonarcloud.io/api/project_badges/measure?project=qckdev.Net.Http&metric=coverage" alt="Code Coverage"/></a> <a><img src="https://hfrances.visualstudio.com/Main/_apis/build/status/qckdev.Net.Http?branchName=main" alt="Azure Pipelines Status"/></a>
qckdev.Net.Http
Provides extensions to System.Net.Http namespace.
using System;
namespace Entities
{
sealed class Species
{
public string Name { get; set; }
public string Url { get; set; }
}
sealed class Pokemon
{
public int Id { get; set; }
public string Name { get; set; }
public int Order { get; set; }
public Species Species { get; set; }
}
}
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using qckdev.Net.Http;
const string URL = "https://pokeapi.co/api/v2/";
using (var client = new HttpClient() { BaseAddress = new Uri(URL) })
{
Entities.Pokemon rdo;
rdo = await client.Fetch<Entities.Pokemon>(HttpMethod.Get, "pokemon/ditto");
}
Example for enumerations
enum Visibility {
Visible,
Hidden
}
sealed class Example {
public int Id { get; set; }
// Choose one of these attributes depending on the targeting framework.
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
public Visibility Visibility { get; set; }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.2 is compatible. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 is compatible. net452 was computed. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wpa81 was computed. |
Windows Store | netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- qckdev.Text.Json (>= 0.3.0-alpha)
-
.NETFramework 4.0
- Microsoft.Bcl (>= 1.1.10)
- Microsoft.Bcl.Async (>= 1.0.168)
- Microsoft.Bcl.Build (>= 1.0.21)
- qckdev.Text.Json (>= 0.3.0-alpha)
-
.NETFramework 4.5
- qckdev.Text.Json (>= 0.3.0-alpha)
-
.NETFramework 4.5.1
- qckdev.Text.Json (>= 0.3.0-alpha)
-
.NETFramework 4.6.1
- qckdev.Text.Json (>= 0.3.0-alpha)
-
.NETStandard 1.2
- NETStandard.Library (>= 1.6.1)
- qckdev.Text.Json (>= 0.3.0-alpha)
-
.NETStandard 2.0
- qckdev.Text.Json (>= 0.3.0-alpha)
-
net5.0
- qckdev.Text.Json (>= 0.3.0-alpha)
-
net6.0
- qckdev.Text.Json (>= 0.3.0-alpha)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on qckdev.Net.Http:
Package | Downloads |
---|---|
TusClientLibrary
Provides access to upload and download large files to Azure Blob Storage using TUS protocol. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.3 | 331 | 7/23/2024 |
1.2.2 | 126 | 7/4/2024 |
1.2.1 | 460 | 3/2/2024 |
1.1.0-rc.2 | 96 | 5/12/2023 |
1.0.0 | 539 | 3/29/2023 |
0.9.2-beta | 186 | 11/25/2022 |
0.9.0-beta | 174 | 11/23/2022 |
0.8.0-beta | 172 | 11/17/2022 |
0.7.0-beta | 236 | 9/7/2022 |
0.6.0-beta | 189 | 7/25/2022 |
0.4.3-beta | 474 | 10/6/2021 |
0.4.2-beta.1 | 185 | 10/6/2021 |
0.4.2-beta | 232 | 10/6/2021 |
0.4.1-beta | 225 | 10/2/2021 |
0.4.0-beta | 233 | 10/1/2021 |
0.3.6-beta | 254 | 8/12/2021 |
0.3.5-alpha | 212 | 8/4/2021 |
0.3.4-alpha | 268 | 8/3/2021 |
0.3.3-alpha | 273 | 7/31/2021 |
0.3.2-alpha.7 | 224 | 7/26/2021 |
0.3.2-alpha.6 | 229 | 7/26/2021 |
0.3.2-alpha.5 | 164 | 7/2/2021 |
0.3.2-alpha.4 | 197 | 7/2/2021 |
0.3.2-alpha.3 | 163 | 7/2/2021 |
0.3.2-alpha.2 | 169 | 7/2/2021 |
0.3.2-alpha.1 | 212 | 7/1/2021 |
0.3.2-alpha | 252 | 7/1/2021 |
0.3.1-alfa.1 | 203 | 7/1/2021 |
0.3.1-alfa | 257 | 7/1/2021 |