TlsClient.RestSharp
0.3.1
This library is no longer available. Use "TlsClient.Provider.RestSharp" instead.
dotnet add package TlsClient.RestSharp --version 0.3.1
NuGet\Install-Package TlsClient.RestSharp -Version 0.3.1
<PackageReference Include="TlsClient.RestSharp" Version="0.3.1" />
<PackageVersion Include="TlsClient.RestSharp" Version="0.3.1" />
<PackageReference Include="TlsClient.RestSharp" />
paket add TlsClient.RestSharp --version 0.3.1
#r "nuget: TlsClient.RestSharp, 0.3.1"
#:package TlsClient.RestSharp@0.3.1
#addin nuget:?package=TlsClient.RestSharp&version=0.3.1
#tool nuget:?package=TlsClient.RestSharp&version=0.3.1
TlsClient.RestSharp
Integration of TlsClient.NET with RestSharp.
This package allows you to make HTTP requests using RestSharp while benefiting from advanced TLS fingerprinting and browser emulation features provided by TlsClient.NET.
📦 Installation
Install from NuGet:
dotnet add package TlsClient.RestSharp
🚀 Usage
Basic Example
💡
TlsRestClientBuilderreturns a standardRestClientinstance. That means you can continue using all features of RestSharp exactly the same way as before.
using RestSharp;
using TlsClient.Core;
using TlsClient.RestSharp.Helpers.Builders;
// initialize Wrapper
TlsClient.Initialize("{LIBRARY_PATH}");
// initialize TlsClient with desired options
var tlsClient = new TlsClientBuilder()
.WithIdentifier(TlsClientIdentifier.Chrome133)
.WithUserAgent("TlsClient.NET 1.0")
.Build();
// build RestClient with TlsRestClientBuilder
var restClient = new TlsRestClientBuilder()
.WithTlsClient(tlsClient)
.WithBaseUrl("https://httpbin.org")
.Build();
// make request
var request = new RestRequest("/get", Method.Get);
var response = await restClient.ExecuteAsync(request);
Console.WriteLine(response.Content);
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- RestSharp (>= 112.1.0)
- TlsClient.HttpClient (>= 0.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.