开发者

How to use this API(HttpConnectionMetrics) in android?

开发者 https://www.devze.com 2023-02-11 21:33 出处:网络
I want to get the number of requests send to server and number of responses received from server while loading a web page in android. I found some API\'s in HttpConnectionMetrics

I want to get the number of requests send to server and number of responses received from server while loading a web page in android. I found some API's in HttpConnectionMetrics

getRequestCount(); 
getResponseCount();

But i don't know how to use them. Please help me in this with 开发者_如何学Pythona sample code. Thanks in advance

0

精彩评论

暂无评论...
验证码 换一张
取 消