Stripe-dotnet: There is no more support from modernhttpclient please remove the dependency

Created on 29 Apr 2016  路  11Comments  路  Source: stripe/stripe-dotnet

look at this issue please aware of this issue

https://github.com/mattleibow/square-bindings/issues/2

Also there is workaround merged to master but not yet release the new package don't use modernhttpcleint

https://github.com/paulcbetts/ModernHttpClient/pull/177

Most helpful comment

The dependency was removed. If there is an issue with the httpclient, I will deal with it then. Hope this takes care of your issue @sunsided and @Jagadeesh-Govindaraj. Thanks.

All 11 comments

What issue were you having and what platform?

I can remove this, but it will require a lot of testing on various platforms.

and thanks.

An issue: We're currently trying to use this library in a DNX/dotnet CLI ( project.json) based project on mono; It fails with a TypeInitializationException in the Requestor static constructor, the reason being the modernhttpclient reference.

gotcha. I'll get rid of this. I believe it will still work on various platforms, but the intent was to get the native http library on each platform.

Is this blocking you, or do you have a fork right now? If you want to fork and start that way, I can have NuGet updated soon (on vacation next week though). The code in Requestor is basically one line you will remove I believe.

I have that fixed in a private fork, so it's not super urgent. There are TLS 1.2 issues on Mono anyway, so I had to additionally open up the Urls in order to make the endpoints setable. (I'm basically doing an unsecured connection to a forward proxying nginx that speaks HTTPS for me.)

There are a few issues/PRs open on ModernHttpClient, but the reviews (xamarin) look terrific. The last activity was on Jan 22nd, though. @paulcbetts - can you confirm if this library is still maintained or if you've moved on? Are the existing PRs/issues just not critical things?

You should instead let people provide their own HttpClient factory instead of including MHC as a dependency

The dependency was removed. If there is an issue with the httpclient, I will deal with it then. Hope this takes care of your issue @sunsided and @Jagadeesh-Govindaraj. Thanks.

Thank you a lot!

Yes - sorry about that, will get it removed next release.

Was this page helpful?
0 / 5 - 0 ratings