HTTP / 2 here. How can Android apps be used?

Browsers have already adopted HTTP / 2 , and mainstream web servers should support it through 2015. If client browsers needed to adapt to take advantage of HTTP / 2, so client-side mobile apps.

How can native Android apps use HTTP / 2 to better interact with their servers, and what should we (or stop doing) to adapt our native apps, from a front-end perspective?

+3


source to share


1 answer


I'm not sure if I understood your question correctly, but you can use one of the libraries to communicate with servers using the same connection.

One of the libraries that supports HTTP / 2 is OkHttp .



But can you provide more details on what you mean by

How can native Android apps use HTTP / 2 to better interact with their servers, and what should we (or stop doing) to adapt our native apps, from a front-end perspective?

+3


source







All Articles