jgiacomini / Tiny.RestClient

Simpliest Fluent REST client for .NET
MIT License
210 stars 30 forks source link

specifiying BindIPEndPointDelegate? #94

Closed bonesoul closed 4 years ago

bonesoul commented 5 years ago

does tiny.restclient support specifiying the local ip address to use while making the requests?

jgiacomini commented 5 years ago

If use use HttpClient internally if you use a personalize the ServicePointManager. I think it's will be compatible :)

bonesoul commented 5 years ago

but i guess that's not possible with dotnet core.

jgiacomini commented 5 years ago

I have to check that point :)

jgiacomini commented 5 years ago

It's seem ServicePointManager is available in .NET Core from v2.0

https://stackoverflow.com/questions/39560249/servicepointmanager-in-asp-net-core

bonesoul commented 5 years ago

but seems ServicePoint.BindIPEndPointDelegate is not working yet https://github.com/dotnet/corefx/issues/23426