Open DummyAppTest opened 1 month ago
Hello @DummyAppTest
Thanks for the question. Not yet.
I'm using SocketsHttpHandler
in .NET compared to the HttpClientHandler
in .NET Framework.
I'll add this to the roadmap.
Cheers, JoKi
Hello @DummyAppTest
After looking further into this. I found that the SocketsHttpHandler
could use a proxy by default.
See here:
https://github.com/dotnet/runtime/blob/6221ddb3051463309801c9008f332b34361da798/src/libraries/Common/src/System/Net/Http/HttpHandlerDefaults.cs#L24
The current implementation of the SDK does not set any value, hence the default behaviour applies. You should be able to specify proxy settings using the default mechanism to read proxy information from the settings file.
Anyway, I'll keep this on my roadmap, and see how a Proxy
property could be exposed publicly.
Cheers, JoKi
Can support custom httpproxy?