Skip to main content

interceptly_chopper 1.4.0 copy "interceptly_chopper: ^1.4.0" to clipboard
interceptly_chopper: ^1.4.0 copied to clipboard

Chopper interceptor for Interceptly network inspector.

example/main.dart

// ignore_for_file: avoid_print
import 'package:chopper/chopper.dart';
import 'package:interceptly_chopper/interceptly_chopper.dart';

Future<void> main() async {
  final chopper = ChopperClient(
    baseUrl: Uri.parse('https://jsonplaceholder.typicode.com'),
    interceptors: [InterceptlyChopperInterceptor()],
  );

  final response = await chopper.get(Uri.parse('/posts/1'));
  print('Status: ${response.statusCode}');
  chopper.dispose();
}
0
likes
160
points
142
downloads

Documentation

API reference

Publisher

verified publisherstormx.dev

Weekly Downloads

Chopper interceptor for Interceptly network inspector.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

chopper, flutter, http, interceptly

More

Packages that depend on interceptly_chopper