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.

val pp : Format.formatter -> t -> unit
  • since 0.6.0
val equal : t -> t -> bool
  • since 0.6.0
val compare : t -> t -> int
  • since 0.6.0
OCaml

Innovation. Community. Security.