package routes

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

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

OCaml

Innovation. Community. Security.