Docs
Network requests
Record HTTP calls from package:http or Dio, and what is kept for each one.
The SDK doesn't intercept the network on its own. You choose which client to record, so there are no surprises or global changes in your app.
package:http
package:http has no interceptors, so you wrap the client:
import 'package:http/http.dart' as http;
import 'package:nabrila/nabrila.dart';
final client = NabrilaHttpClient(http.Client());
Use that client wherever you used http.Client() before.
Dio
The Dio integration lives in its own library, so an app without Dio never imports it:
import 'package:nabrila/dio.dart';
dio.interceptors.add(NabrilaDioInterceptor());
What is kept
By default, each request keeps only the method, the URL (with sensitive query values covered), the status, the duration and the size.
Headers and bodies
With captureBodies: true, in either integration, headers and a preview of the bodies are also kept. Before leaving memory, the values of authorization, cookie, token, password, secret and api_key are replaced with [REDACTED].
The preview covers only text bodies (JSON, forms, XML and plain text), up to 64 KB. Files, images and any binary body are never read: they go out untouched. Responses still reach your app as they arrive, without waiting for the download to finish.
Use it only if you need it: a body can contain personal data that the filter doesn't recognize.
In the viewer, each request has Copy cURL to replay it from your terminal (bash, zsh or fish). More in Reading a report.