package dream_middleware_ext
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=568241d96f9843d5fd6350d927cdbb67c7693e86f7c49286283979abb2ff61e1
sha512=061a488694f4165932eb079d13de2b8f363e4b49197541f861d4948e5427b9b7005c81a292dfed8bd8ce9bd0d089a8a80176c90d3c0337983b6c53be1d6d45d6
Description
A collection of middleware utilities for Dream framework
README
README.md
Dream Middleware Extension
A collection of middlewares for Dream framework
Currently supporting the following functionalities:
CORS: Cross-Origin Resource Sharing
Delay: simulates delayed request
Rate Limiter: supports Fixed Window and Token Bucket algorithms
Traffic Filter: supports IP, header and cookie based traffic filters
Platform supported: Unix
Examples
CORS: https://github.com/axons-talent/dream_middleware_ext/blob/main/examples/cors.ml
Delay: https://github.com/axons-talent/dream_middleware_ext/blob/main/examples/delay.ml
Rate Limiter: https://github.com/axons-talent/dream_middleware_ext/blob/main/examples/rate_limiter.ml
Traffic Filter: https://github.com/axons-talent/dream_middleware_ext/blob/main/examples/traffic_filter.ml
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in dream_middleware_ext by you, shall be licensed as MIT, without any additional terms or conditions.