NuGet Package Cuture.Http

用于快速进行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();.

Info

Version: 1.4.1
Author(s): Stratos
Last Update: Saturday, January 23, 2021
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/StratosBlue/Cuture.Http.git
NuGet Url: https://www.nuget.org/packages/Cuture.Http


Install
Install-Package Cuture.Http
dotnet add package Cuture.Http
paket add Cuture.Http
Cuture.Http Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net461 net5.0


Tags



STATS

must-have-score

4.1

avg-downloads-per-day

13

days-since-last-release

81