chuck_interceptor 0.0.6 chuck_interceptor: ^0.0.6 copied to clipboard
Chuck Intercepter is an HTTP Inspector tool which helps debugging http requests. It catches and stores http requests and responses, which can be viewed via simple UI.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add chuck_interceptor
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
chuck_interceptor: ^0.0.6
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:chuck_interceptor/alice.dart';
import 'package:chuck_interceptor/core/alice_chopper_response_interceptor.dart';
import 'package:chuck_interceptor/core/alice_core.dart';
import 'package:chuck_interceptor/core/alice_dio_interceptor.dart';
import 'package:chuck_interceptor/core/alice_http_adapter.dart';
import 'package:chuck_interceptor/core/alice_http_client_adapter.dart';
import 'package:chuck_interceptor/core/alice_http_client_extensions.dart';
import 'package:chuck_interceptor/core/alice_http_extensions.dart';
import 'package:chuck_interceptor/core/alice_utils.dart';
import 'package:chuck_interceptor/helper/alice_alert_helper.dart';
import 'package:chuck_interceptor/helper/alice_conversion_helper.dart';
import 'package:chuck_interceptor/helper/alice_save_helper.dart';
import 'package:chuck_interceptor/model/alice_form_data_file.dart';
import 'package:chuck_interceptor/model/alice_from_data_field.dart';
import 'package:chuck_interceptor/model/alice_http_call.dart';
import 'package:chuck_interceptor/model/alice_http_error.dart';
import 'package:chuck_interceptor/model/alice_http_request.dart';
import 'package:chuck_interceptor/model/alice_http_response.dart';
import 'package:chuck_interceptor/model/alice_menu_item.dart';
import 'package:chuck_interceptor/model/alice_sort_option.dart';
import 'package:chuck_interceptor/ui/page/alice_call_details_screen.dart';
import 'package:chuck_interceptor/ui/page/alice_calls_list_screen.dart';
import 'package:chuck_interceptor/ui/page/alice_stats_screen.dart';
import 'package:chuck_interceptor/ui/widget/alice_base_call_details_widget.dart';
import 'package:chuck_interceptor/ui/widget/alice_call_error_widget.dart';
import 'package:chuck_interceptor/ui/widget/alice_call_list_item_widget.dart';
import 'package:chuck_interceptor/ui/widget/alice_call_overview_widget.dart';
import 'package:chuck_interceptor/ui/widget/alice_call_request_widget.dart';
import 'package:chuck_interceptor/ui/widget/alice_call_response_widget.dart';
import 'package:chuck_interceptor/utils/alice_constants.dart';
import 'package:chuck_interceptor/utils/alice_parser.dart';
import 'package:chuck_interceptor/utils/shake_detector.dart';