package routes

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = [
  1. | `CONNECT
  2. | `DELETE
  3. | `GET
  4. | `HEAD
  5. | `OPTIONS
  6. | `Other of string
  7. | `POST
  8. | `PUT
  9. | `TRACE
]

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