Network Logging - Android
API reference for network logging in Android with Luciq. Configure network monitoring APIs to capture HTTP requests and responses in your Android app.
Logging HttpUrlConnection Requests
LuciqNetworkLog networkLog = new LuciqNetworkLog();
networkLog.Log(urlConnection, requestBody, responseBody);LuciqNetworkLog networkLog = new LuciqNetworkLog()
networkLog.Log(urlConnection, requestBody, responseBody)Logging Okhttp Requests
implementation 'com.luciq.library:luciq-with-okhttp-interceptor:11.5.4'LuciqOkhttpInterceptor luciqOkhttpInterceptor = new LuciqOkhttpInterceptor();
OkHttpClient client = new OkHttpClient.Builder()
.addInterceptor(interceptor)
.addInterceptor(luciqOkhttpInterceptor)
.build();val luciqOkhttpInterceptor = LuciqOkhttpInterceptor()
val client = OkHttpClient.Builder()
.addInterceptor(interceptor)
.addInterceptor(luciqOkhttpInterceptor)
.build()Modifying Requests
Identifying Cancelled Requests
Last updated