Zack
Zack

Reputation: 1113

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

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

Upvotes: 3

Views: 535

Answers (1)

Jesse Wilson
Jesse Wilson

Reputation: 40623

We dropped NPN support. ALPN is the future.

Upvotes: 2

Related Questions