Module Naboris.Method

Module with types used for matching requests.

type t =
| GET
| POST
| PUT
| PATCH
| DELETE
| CONNECT
| OPTIONS
| TRACE
| Other of string

Represents an HTTP Method

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