http_hook 0.0.2
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
andonRegex
withoutdefaultUrl
parameter match any host
Breaking Changes #
defaultUrl
parameter inonTemplate
/onRegex
is now optional with default empty string for wildcard support
0.0.1 #
- initial release.