alice_http_client 1.3.2 copy "alice_http_client: ^1.3.2" to clipboard
alice_http_client: ^1.3.2 copied to clipboard

HttpClient interceptor and network logger for Alice. Inspect, log, and debug Dart HttpClient requests and responses in a native Flutter UI.

Alice HTTP Client #

pub package

Alice + HTTP Client integration. It contains a plugin for Alice which allows you to use the dart:io HttpClient.

Setup #

import 'dart:io';
import 'package:alice/alice.dart';
import 'package:alice_http_client/alice_http_client_adapter.dart';
import 'package:alice_http_client/alice_http_client_extensions.dart';

HttpClient httpClient = HttpClient();
AliceHttpClientAdapter httpClientAdapter = AliceHttpClientAdapter();
Alice alice = Alice()..addAdapter(httpClientAdapter);

httpClient
    .getUrl(Uri.https('jsonplaceholder.typicode.com', '/posts'))
    .interceptWithAlice(httpClientAdapter);

Documentation #

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

1
likes
160
points
604
downloads

Documentation

Documentation
API reference

Publisher

verified publisherhasoft.pl

Weekly Downloads

HttpClient interceptor and network logger for Alice. Inspect, log, and debug Dart HttpClient requests and responses in a native Flutter UI.

Repository (GitHub)
View/report issues

Topics

#httpclient #interceptor #logging #network #http

License

Apache-2.0 (license)

Dependencies

alice

More

Packages that depend on alice_http_client