Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no more support from modernhttpclient please remove the dependency #500

Closed
Jagadeesh-Govindaraj opened this issue Apr 29, 2016 · 11 comments

Comments

@Jagadeesh-Govindaraj
Copy link

look at this issue please aware of this issue

mattleibow/square-bindings#2

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

anaisbetts/ModernHttpClient#177

@Jagadeesh-Govindaraj Jagadeesh-Govindaraj changed the title there is no more support from modernhttpclient please remove the dependency There is no more support from modernhttpclient please remove the dependency Apr 29, 2016
@jaymedavis
Copy link
Contributor

What issue were you having and what platform?

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

@jaymedavis
Copy link
Contributor

and thanks.

@sunsided
Copy link

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.

@jaymedavis
Copy link
Contributor

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.

@sunsided
Copy link

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.)

@jaymedavis
Copy link
Contributor

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?

@anaisbetts
Copy link

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

@jaymedavis
Copy link
Contributor

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.

@sunsided
Copy link

Thank you a lot!

@sunsided
Copy link

sunsided commented Jun 3, 2016

The nuspec file still contains modernhttpclient by the way:
https://github.com/jaymedavis/stripe.net/blob/5aca7157f1cd24f37260af94fc520a135a88cb7f/build/Stripe.net.nuspec#L25

@jaymedavis
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants