package naboris

  1. Overview
  2. Docs

Module with types used for matching requests.

type t =
  1. | GET
  2. | POST
  3. | PUT
  4. | PATCH
  5. | DELETE
  6. | CONNECT
  7. | OPTIONS
  8. | TRACE
  9. | Other of string

Represents an HTTP Method

val ofString : string -> t
val toString : t -> string
val ofHttpAfMethod : Httpaf.Method.t -> t
OCaml

Innovation. Community. Security.