Network response time for API call - Native httpClient vs WebView

Viewed 22

Our analysis team recently completed analysis. They came with analysis, when we call API via httpClient for native app, request & response time is more, in comparison to when we load web-view using same API within mobile app. We don't have any clue why it's happening. Few factor which we observed that, native app API having more than following components etc

  • TLS handshake
  • Latency time
  • Connect time

but web-view don't have such factors. Can some one suggest if it's can be improved by native httpClient? Note that it's same either using volley or retrofit.

0 Answers
Related