alice_http_client 1.3.0 copy "alice_http_client: ^1.3.0" to clipboard
alice_http_client: ^1.3.0 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
0
points
640
downloads

Documentation

Documentation

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

unknown (license)

Dependencies

alice

More

Packages that depend on alice_http_client