http_hook 0.0.1 copy "http_hook: ^0.0.1" to clipboard
http_hook: ^0.0.1 copied to clipboard

A lightweight and flexible Dart HTTP request interception and mocking library for testing and debugging. Supports precise URL matching, path template matching, regex matching, and dynamic response generation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_hook

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  http_hook: ^0.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:http_hook/http_hook.dart';
1
likes
0
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight and flexible Dart HTTP request interception and mocking library for testing and debugging. Supports precise URL matching, path template matching, regex matching, and dynamic response generation.

Repository (GitHub)
View/report issues

Topics

#http #mock #testing #interceptor

License

unknown (license)

Dependencies

test

More

Packages that depend on http_hook