interceptly 2.2.0 copy "interceptly: ^2.2.0" to clipboard
interceptly: ^2.2.0 copied to clipboard

Client-agnostic network and realtime inspector for Flutter with overlay UI, replay tools, WebSocket inspection, and HAR/cURL/Postman export.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:interceptly/interceptly.dart';

import 'src/example.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final server = ExampleLocalServer();
  final baseUrl = await server.start();

  final clients = ExampleClients.create(baseUrl: baseUrl);
  final appNavigatorKey = GlobalKey<NavigatorState>();

  runApp(
    InterceptlyExampleApp(
      clients: clients,
      navigatorKey: appNavigatorKey,
      server: server,
    ),
  );

  Interceptly.init(
    navigatorKey: appNavigatorKey,
    settings: InterceptlySettings(
      maxBodyBytes: 50 * 1024 * 1024,
      maxUiPreviewBytes: 50 * 1024 * 1024,
      shouldCapture: (url) => !url.contains('/analytics'),
    ),
  );
}
7
likes
160
points
349
downloads

Documentation

API reference

Publisher

verified publisherstormx.dev

Weekly Downloads

Client-agnostic network and realtime inspector for Flutter with overlay UI, replay tools, WebSocket inspection, and HAR/cURL/Postman export.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, path_provider

More

Packages that depend on interceptly

Packages that implement interceptly