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

Lightweight Dart HTTP request interception and mocking library. Supports URL matching, templates, regex, wildcards, and pass-through.

Changelog #

0.0.2 #

Features #

  • Pass-through functionality: Added HttpHookResponse.passThrough() for conditional real HTTP requests
  • Wildcard host matching: onTemplate and onRegex without defaultUrl parameter match any host

Breaking Changes #

  • defaultUrl parameter in onTemplate/onRegex is now optional with default empty string for wildcard support

0.0.1 #

  • initial release.
1
likes
0
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight Dart HTTP request interception and mocking library. Supports URL matching, templates, regex, wildcards, and pass-through.

Repository (GitHub)
View/report issues

Topics

#http #mock #testing #interceptor

License

unknown (license)

Dependencies

test

More

Packages that depend on http_hook