3

I notice that OkHttp support h2 over ALPN in Android 5.0+.

From some article,I learned that we can use NPN Negotiation for http/2 request.

Can I send http/2 request with OkHttp over NPN Negotiation?

So that it's possible to support h2 on android 4.1+ with better network performance :-D

Zack
  • 1,073
  • 2
  • 8
  • 20

1 Answers1

2

We dropped NPN support. ALPN is the future.

Jesse Wilson
  • 33,489
  • 5
  • 98
  • 112