mock_http_server 1.0.0 copy "mock_http_server: ^1.0.0" to clipboard
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 dio and http.
0
likes
140
points
44
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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 operation matching, and chunked SSE streaming.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, chopper, dio, graphql, meta, test

More

Packages that depend on mock_http_server