Read server response with OkHttp

I am making a simple Android application to test the response from a server that supports SPDY Server Push. I started with a site that would automatically redirect the remaining resources after issuing the first HTTP request to the page.

I just came across OkHttp and would like to know if it already supports receiving a push server stream. If so, how can I get input for “responses” that are not directly requested?

Thank!

+4
source share
1 answer

HTTP . , .

2 API . .

+1

Source: https://habr.com/ru/post/1532394/


All Articles