package dream_middleware_ext
A collection of middleware utilities for Dream framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
dream_middleware_ext-0.1.1.tbz
sha256=cc65c518d7f805459a3bf216793cc9634e122ef884955d25ce4c07e093d36bda
sha512=6f2b072f1678ba7f46a1daadad829102c0479da8aa768eae11e9b2c2c62ae5a7388ab4ca1dab2e54ece589a6fc7f2f5e5e78663478a497f19954093c6efac5df
Description
A collection of middleware utilities for Dream framework
README
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/gborough/dream_middleware_ext/blob/main/examples/cors.ml
- Delay: https://github.com/gborough/dream_middleware_ext/blob/main/examples/delay.ml
- Rate Limiter: https://github.com/gborough/dream_middleware_ext/blob/main/examples/rate_limiter.ml
- Traffic Filter: https://github.com/gborough/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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page