RequestXNet 1.0.1
dotnet add package RequestXNet --version 1.0.1
NuGet\Install-Package RequestXNet -Version 1.0.1
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="RequestXNet" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RequestXNet" Version="1.0.1" />
<PackageReference Include="RequestXNet" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RequestXNet --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RequestXNet, 1.0.1"
#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.
#:package RequestXNet@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RequestXNet&version=1.0.1
#tool nuget:?package=RequestXNet&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RequestXNet Library
RequestXNet is a lightweight and flexible C# library for making HTTP requests with advanced features such as handling cookies, setting custom User-Agents, and using proxies. It is built on top of the xNet library and simplifies the process of making HTTP requests in your C# applications.
Features
- Send GET and POST requests easily.
- Handle cookies for persistent sessions.
- Set custom User-Agent headers.
- Support both HTTP and SOCKS5 proxies.
Installation
To use RequestXNet in your C# project, you can install it via NuGet Package Manager:
nuget install RequestXNet
Usage
Here is a quick example of how to use RequestXNet to send an HTTP request:
using RequestXNet;
// Create a new RequestXNet instance
RequestXNet.RequestXNet requestXNet = new RequestXNet.RequestXNet();
// Send a GET request
string response = requestXNet.RequestGet("https://example.com");
Console.WriteLine(response);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- No dependencies.
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.0.1 | 423 | 10/16/2023 |
Published v1.0.1