netlens_http 1.0.0
netlens_http: ^1.0.0 copied to clipboard
NetLens adapter for the http package. Catches http calls for the NetLens in-app HTTP inspector and lets NetLens resend them.
example/README.md
NetLens for http example #
import 'package:http/http.dart' as http;
import 'package:netlens/netlens.dart';
import 'package:netlens_http/netlens_http.dart';
final netLens = NetLens();
final adapter = NetLensHttpAdapter();
netLens.addAdapter(adapter);
http
.get(Uri.parse('https://api.example.com/users'))
.interceptWithNetLens(adapter);
A complete app is in examples/netlens_http.