ChuckerInterceptor(context: Context, collector: ChuckerCollector = ChuckerCollector(context), maxContentLength: Long = 250000L, headersToRedact: Set<String> = emptySet())
An OkHttp Interceptor which persists and displays HTTP activity in your application for later inspection.
context - An Android Context
collector - A ChuckerCollector to customize data retention
maxContentLength - The maximum length for request and response content
before their truncation. Warning: setting this value too high may cause unexpected
results.
headersToRedact - a Set of headers you want to redact. They will be replaced
with a ** in the Chucker UI.