Y
Hacker News
new
|
ask
|
show
|
jobs
by
rentnorove
4145 days ago
It requires you to compile a proxy into the application:
OkHttpClient client = new OkHttpClient(); client.networkInterceptors().add(new StethoInterceptor());
1 comments
stevebot
4145 days ago
How is that really a proxy if it gets compiled into your application? From what others have said it sounds like the real mechanism is over adb.
link
longinoa
4145 days ago
Its not a proxy, it requires that you build hooks into your http engine (OkHttp/HttpUrlConnection) to forward events to the NetworkEventReporter interface.
link