Comments (1)
Hi @kklara, I think this is related: #4
DotNetTor was originally written in .NET Core 1, which was lacking numerous things, I've tried to bring everything to new platforms, but due to lack of time I decided to maintain the parts those are relevant to me here:
- The library: https://github.com/zkSNACKs/WalletWasabi/tree/master/WalletWasabi/TorSocks5
- Examples: https://github.com/zkSNACKs/WalletWasabi/blob/master/WalletWasabi.Tests/TorTests.cs
Unfortunately I have to drop the HttpClient
support somewhere along the line, but you can use TorHttpClient
almost the same way:
using (var client = new TorHttpClient(new Uri("https://slack.com"), Global.TorSocks5Endpoint))
{
var content = await (await client.SendAsync(HttpMethod.Get, "api/api.test")).Content.ReadAsStringAsync();
Assert.Equal("{\"ok\":true}", content);
}
So the things is, if the published DotNetTor
NuGet cannot do something, then you should try to use the code I'm using today in the above links. Do you experience your issue with the maintained library, too?
from dotnettor.
Related Issues (14)
- Exception is thrown at multiple HTTP requests in a row HOT 1
- Implement proper exception patterns HOT 1
- How to send GET and POST request in one HttpClient? HOT 8
- How to set properties in TorSocks5Handler? HOT 4
- How to set cookie in POST or GET request? HOT 1
- support .NET standard 2.0, to use across-platforms Xamarin etc. HOT 3
- multithreading? HOT 1
- Help wanted HOT 3
- Fix Linux/OSX HTTPS, OpenSSL, .NET Core bug HOT 4
- Accepting chunked tranfer encoded responses does not work properly HOT 10
- HTTPS POST fails on Linux HOT 4
- Using DotNetTor with TcpClient HOT 14
- Support for UTF-8 Post HttpContent HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnettor.