This repository has been archived by the owner on May 1, 2023. It is now read-only.
Enable network inspection for HttpClient #116
Comments
Yes, however we provide no helpers to facilitate this. There is a lower
level "raw" API for hooking this up yourself called NetworkEventReporter.
See stetho-okhttp/urlconnection source for clues as to how you'd wire this
up manually.
HttpClient does also have an interceptor type system similar to okhttp, but
in my experience it is much less complete and is harder to properly
generalize. That's why we didn't pursue a stetho-httpclient helper.
|
@jasta thanks for your info and quick reply. |
jasta, which part is harder to generalize? it seems friendlier than url connection. i'll write it if you guys would merge it into stetho. btw, when i was at fb i was working on this very tool, but 3 years earlier :) never finished but glad you guys did. looks great. |
thanks |
Hey @lklots, have you done this for us? (: |
nope :( |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to enable network inspection for HttpClient? thx.
The text was updated successfully, but these errors were encountered: