Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

What do you use to send Http Requests?

(Aug 3, 2020 05:05 AM)draxyee Wrote:  The problem is it doesn’t allow for my implementation. I can’t share a single HTTPClient, as I need to change proxy after a request has been made. HTTPClient doesn’t allow you to modify the proxy after a request has been sent, rendering the reuse of a singleton client as useless (if that was your memory leak fix).

How many proxies are we talking though?

Unless you are using a pretty unreasonable amount of proxies you could just be saving the instances of this per proxy and re-using the same instance from a dictionary of HttpClient?

As per my previous post though, RestSharp has been a pretty good alternative for us.
httpclient my man, idk what people are saying about "limitationts of concurrent connections" as ive been using it for stress testing methods and it works just fine for http flood nd shit
Restsharp for REST apis and for other type of requests HttpClient.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by siwaMar 14, 2024 11:14 AM 5 291 Mar 14, 2024 11:14 AM
Last Post: Hackers
[Python] by evilgnomeJan 11, 2022 05:39 AM 2 192 Jan 11, 2022 05:39 AM
Last Post: Charger
[C] by YouthInAsiaNov 4, 2019 05:28 PM 8 267 Nov 4, 2019 05:28 PM
Last Post: malpwn