-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to enable network inspection for HttpClient? thx.
The text was updated successfully, but these errors were encountered: