I'm doing something for connection qualities, And I need establish a https connection and monitor it's total time and its DNS query time, TCP connect time, TLS connect time.
Under Golang I know ClientTrace will do this http tracing thing, Under Android with Java, I cant find similar interfaces
Any Insight?
一种方法是使用 OkHttp 库来建立你的 https 连接并添加拦截器来记录信息。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.