PyLibSharp 1.1.0
Suggested Alternatives
Additional Details
我们将使用新的包名继续更新,请下载PyLibSharp.Requests,谢谢;
另外我们将开发PyLibSharp的其他类库。
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PyLibSharp --version 1.1.0
NuGet\Install-Package PyLibSharp -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PyLibSharp" Version="1.1.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PyLibSharp --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PyLibSharp, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PyLibSharp as a Cake Addin #addin nuget:?package=PyLibSharp&version=1.1.0 // Install PyLibSharp as a Cake Tool #tool nuget:?package=PyLibSharp&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
简单用法: ReqResponse return=Requests.Get("网址",参数对象ReqParams); ReqResponse return=Requests.Post("网址",参数对象ReqParams);
ReqParams中可以设置Header等,若要自定义Header,请使用CustomHeader;无论是Get还是Post,参数最好通过Params进行传递。 可以在参数中设置现存的CookieContainer,也可以利用请求返回的ReqResponse对象中的Cookies获取到。 ReqResponse中: RawStream参数是存有响应的原始字节流 Text参数是根据Encode参数自动解码的字符串,可以通过手动修改Encode的值,让Text以不同编码进行解码。 Json函数可以直接获取按Json格式解码响应后的JObject对象。
目前还在早期开发阶段,文档和代码注释会在项目成熟后补齐。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.2.4 | 537 | 1/28/2021 | |
1.2.3 | 796 | 11/30/2020 | |
1.2.2 | 644 | 11/30/2020 | |
1.2.1 | 519 | 11/21/2020 | |
1.2.0 | 547 | 11/21/2020 | |
1.1.9 | 735 | 10/16/2020 | |
1.1.8 | 570 | 10/11/2020 | |
1.1.7 | 580 | 9/20/2020 | |
1.1.6 | 635 | 9/19/2020 | |
1.1.5 | 539 | 9/9/2020 | |
1.1.4 | 527 | 9/7/2020 | |
1.1.3 | 526 | 9/7/2020 | |
1.1.0 | 589 | 8/31/2020 | |
1.0.0 | 549 | 8/25/2020 |
初始