Closed yurkinh closed 4 years ago
Downgrade packages here too or i can just copy and paste http2 protocol addition.
Downgrade packages here too or i can just copy and paste http2 protocol addition.
Yes. You can just copy and paste http2 protocol addition
Done
Added Protocol.Http2 parameter to clientBuilder protocols method. Otherwise it will force using Http 1.1 protocol version. Another option was just to remove line 69 in OkHttpNetworkHandler and it worked perfectly in both cases. But for compatibility I just added "Protocol.Http2"
Added method to test Http2 support in MainViewModel
Screenshot shows how to check that page is opened with Http2 protocol version