alice_http 1.4.2 copy "alice_http: ^1.4.2" to clipboard
alice_http: ^1.4.2 copied to clipboard

HTTP interceptor and network logger for Alice. Inspect, log, and debug http package requests and responses in a native Flutter UI.

Alice HTTP #

pub package

Alice + HTTP integration. It contains a plugin for Alice which allows you to use the http package.

Setup #

import 'package:alice/alice.dart';
import 'package:alice_http/alice_http_adapter.dart';
import 'package:alice_http/alice_http_extensions.dart';
import 'package:http/http.dart' as http;

AliceHttpAdapter aliceHttpAdapter = AliceHttpAdapter();
Alice alice = Alice()..addAdapter(aliceHttpAdapter);

http.get(Uri.https('jsonplaceholder.typicode.com', '/posts'))
    .interceptWithAlice(aliceHttpAdapter);

Documentation #

For full documentation, see Alice documentation or the Main Repository.

0
likes
160
points
1.87k
downloads

Documentation

Documentation
API reference

Publisher

verified publisherhasoft.pl

Weekly Downloads

HTTP interceptor and network logger for Alice. Inspect, log, and debug http package requests and responses in a native Flutter UI.

Repository (GitHub)
View/report issues

Topics

#http #interceptor #logging #network #rest

License

Apache-2.0 (license)

Dependencies

alice, http

More

Packages that depend on alice_http