Cuture.Http
1.1.0
See the version list below for details.
dotnet add package Cuture.Http --version 1.1.0
NuGet\Install-Package Cuture.Http -Version 1.1.0
<PackageReference Include="Cuture.Http" Version="1.1.0" />
paket add Cuture.Http --version 1.1.0
#r "nuget: Cuture.Http, 1.1.0"
// Install Cuture.Http as a Cake Addin #addin nuget:?package=Cuture.Http&version=1.1.0 // Install Cuture.Http as a Cake Tool #tool nuget:?package=Cuture.Http&version=1.1.0
基于System.Net.Http.HttpClient的简单封装,用于进行Http请求。
Example Usage:
var url = "http://www.domain.com/api";
var response = await url.ToHttpRequest()
.UseUserAgent(UserAgents.FireFox)
.AddHeader("header1", "header1Value")
.UsePost()
.TimeOut(3000)
.WithCancellationToken(token)
.WithFormContent($"key={value.UrlEncode()}")
//Some Other Options
.TryGetAsStringAsync();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | 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 | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- Newtonsoft.Json (>= 12.0.3)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.3)
- System.Text.Encoding.CodePages (>= 4.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Cuture.Http:
Package | Downloads |
---|---|
Cuture.Http.NewtonsoftJson
用于 Cuture.Http 库的 Newtonsoft.Json 功能支持 |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Cuture.Http:
Repository | Stars |
---|---|
stratosblue/IntelliSenseLocalizer
a tool for generate .net Localized IntelliSense files. 用于生成本地化 .net IntelliSense文件的工具。
|
Version | Downloads | Last updated |
---|---|---|
2.8.1 | 9,202 | 8/11/2024 |
2.8.0 | 18,978 | 11/15/2023 |
2.7.2 | 17,245 | 5/20/2023 |
2.7.1 | 9,775 | 12/14/2022 |
2.7.0 | 1,138 | 12/3/2022 |
2.6.0 | 4,423 | 10/7/2022 |
2.5.0 | 7,263 | 7/3/2022 |
2.5.0-alpha0001 | 1,732 | 6/11/2022 |
2.1.1 | 12,074 | 12/13/2021 |
2.1.0 | 4,152 | 10/23/2021 |
2.0.6 | 3,227 | 9/14/2021 |
2.0.5 | 2,524 | 8/16/2021 |
2.0.4 | 1,200 | 8/7/2021 |
2.0.3 | 4,968 | 6/19/2021 |
2.0.2 | 3,944 | 5/14/2021 |
2.0.1 | 3,484 | 4/14/2021 |
2.0.0 | 2,949 | 3/18/2021 |
2.0.0-alpha0004 | 1,462 | 3/6/2021 |
2.0.0-alpha0003 | 358 | 3/6/2021 |
2.0.0-alpha0002 | 732 | 3/1/2021 |
2.0.0-alpha0001 | 254 | 2/22/2021 |
1.4.1 | 3,898 | 1/23/2021 |
1.4.0 | 3,434 | 12/22/2020 |
1.3.8 | 501 | 11/14/2020 |
1.3.7 | 420 | 11/12/2020 |
1.3.6 | 551 | 10/31/2020 |
1.3.2 | 490 | 9/18/2020 |
1.3.1 | 508 | 7/27/2020 |
1.3.0 | 522 | 4/23/2020 |
1.2.0 | 540 | 4/6/2020 |
1.1.1 | 572 | 2/10/2020 |
1.1.0 | 612 | 1/8/2020 |
1.0.3 | 714 | 1/5/2020 |
1.0.2 | 632 | 1/4/2020 |
1.0.1 | 500 | 1/3/2020 |
1.0.0 | 518 | 12/30/2019 |