Install
dune-project
Dependency
Authors
Maintainers
Sources
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.
Dependencies (7)
Dev Dependencies (2)
-
odoc
with-doc -
ppx_expect
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building dream_middleware_ext with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.1.1 (this version) | n/a | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure