-
- All Implemented Interfaces:
-
okhttp3.Interceptor
public final class EmbraceOkHttp3NetworkInterceptor implements InterceptorCustom OkHttp3 Interceptor implementation that will log the results of the network call to Embrace.io.
This interceptor will only intercept network request and responses from client app. OkHttp3 network interceptors are added almost at the end of stack, they are closer to "Wire" so they are able to see catch "real requests".
Network Interceptors - Able to operate on intermediate responses like redirects and retries. - Not invoked for cached responses that short-circuit the network. - Observe the data just as it will be transmitted over the network. - Access to the Connection that carries the request.
-
-
Constructor Summary
Constructors Constructor Description EmbraceOkHttp3NetworkInterceptor()
-