mock_http_server 1.0.0
mock_http_server: ^1.0.0 copied to clipboard
A modern, enterprise-grade HTTP, HTTPS, and WebSocket mock server package for Dart and Flutter. Support queue-based matching, path/regex routing, middleware, delay/bandwidth simulation, GraphQL operat [...]
Changelog #
1.0.0 #
- Initial release of
mock_http_server. - HTTP mock server with IPv4, IPv6, fixed and dynamic ports.
- FIFO queue and fallback response routing.
- Dynamic path parameters (
/users/:id) and Regex dispatcher routing. - Custom, stackable middleware (Auth, colored logger, CORS).
- Comprehensive WebSocket upgrade, streaming support, and auto-replies.
- HTTPS / SSL/TLS self-signed key utility support.
- GraphQL operation matching and query variables extraction.
- Bandwidth throttling and network failure simulation.
- Rich integration examples using
dioandhttp.