routes

Typed routing for OCaml applications
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library routes
Module Routes . Method
type t = [
| `CONNECT
| `DELETE
| `GET
| `HEAD
| `OPTIONS
| `Other of string
| `POST
| `PUT
| `TRACE
]

HTTP methods. This is an optional input for route matching. The current types are chosen to be compatible with what Httpaf uses - link.