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

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

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.37k
downloads

Documentation

API reference

Publisher

verified publisherhasoft.pl

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#http #inspector #alice #interceptor

License

Apache-2.0 (license)

Dependencies

alice, http

More

Packages that depend on alice_http