Open BenDevelopment opened 7 years ago
If you look at this repo it is pretty much dead. I think there are some forks updating OkHTTP.
@paulcbetts could we maybe give someone willing to bring ModernHttpClient up to snuff access to the repo or something like that? I know there is Xamarin's HttpClient handler for Android that does pretty much what you do here. But only on Android 5.x and up.
@Cheesebaron can you give me some details about Xamarin's HttpClient handler for https? Edit: I think your are talking about that: https://developer.xamarin.com/guides/android/application_fundamentals/http-stack/
And for the PRO version (paid) subscribers too. Many thanks !
@nicolasesprit with the pro version you pay for:
The only feature difference between ModernHttpClient and ModernHttpClient Pro is the ability to use untrusted SSL/TLS certificates - there is no performance or other internal differences between the two versions
You pay for untrusted SSL/TLS, not for stability or anything else regarding this library. It still fulfils that. You could also just have paid, nothing at all and used a lets encrypt cert or similar.
Of course
We just moved our Mobile API from a windows server 2012 instance to a 2016 instance, which supports HTTP/2. Immediately the connectivity in our Xamarin iOS and Android apps stopped working, which leverage ModernHttpClient. Is the recommended approach to now switch over to AndroidClientHandler?
I suggest to update the OkHTTP package to make it works with http/2. It can fix REFUSED_STREAM errors on https request. Someone can do this?