Gleap
Search…
🌎
Network logs
Gleap allows you to monitor all network requests for a better understanding of what's happening within your apps.

Enable network logs

Simply enable the network logs within the visual widget configurator and add the Flutter Gleap Interceptor to your http client.

Configure network logs in Flutter

We support network logging for the packages Http and Dio. For details on how to enable network logging for these packages, check the Gleap Http Interceptor and the Gleap Dio Interceptor packages.

Gleap Http Interceptor

Simple add the Gleap Http Interceptor package to your dependencies and attach the GleapHttpInterceptor() to your http client.
1
Client client = InterceptedClient.build(interceptors: [
2
GleapHttpInterceptor(),
3
]);
4
​
5
client.get(Uri.parse("https://example.com"));
Copied!

Gleap Dio Interceptor

Simple add the Gleap Dio Interceptor package to your dependencies and attach the GleapDioInterceptor() to your http client.
1
Dio dio = Dio();
2
dio.interceptors.add(GleapDioInterceptor());
3
​
4
dio.get("https://example.com")
Copied!
Last modified 2d ago