package routes

  1. Overview
  2. Docs
Typed routing for OCaml applications

Install

Dune Dependency

Authors

Maintainers

Sources

routes-0.4.1.tbz
sha256=013d50c34947b944a85469ad62b956f912caa9ad85aedae3824a9b33bc393961
sha512=f3ce49d608f0a8153c2d3930f63080dc0dda4f594e834ba6bcdf246c1a21d8f73b0121e42cced37dd2d147107ab4d34b415f66aa1a9be9bf7adce0f70e5d3c62

CHANGES.md.html

0.4.1

  • Remove stdcompat (#33)

  • Add example using opium (#34)

0.4.0

  • Switch to using an applicative functor as parser. (#27)

  • Have a version of matching without HTTP methods. (#27)

  • Tokenize the path parameters into list of strings. (#27)

  • Add more tests for matchers. (#28)

  • s now returns the string it matches, instead of discarding it. (#29)

0.3.0

  • Extract string operations to its own module (#14)

  • Drop dependency on astring (#16)

  • Add pretty printers for utop (#18)

  • Accept a request that is in-turn forwarded to handlers (#22)

  • Use mdx to test examples in the readme file (#23)

0.2.0

  • Switched to a GADT representation of routes

  • Add support for using the same route type for both parsing and a sprintf like function

0.1.0

  • Initial version of router

OCaml

Innovation. Community. Security.