package piaf

  1. Overview
  2. Docs
include module type of struct include H2.Method end
type standard = [
  1. | `CONNECT
  2. | `DELETE
  3. | `GET
  4. | `HEAD
  5. | `OPTIONS
  6. | `POST
  7. | `PUT
  8. | `TRACE
]
type t = [
  1. | `CONNECT
  2. | `DELETE
  3. | `GET
  4. | `HEAD
  5. | `OPTIONS
  6. | `Other of string
  7. | `POST
  8. | `PUT
  9. | `TRACE
]
val is_safe : standard -> bool
val is_cacheable : standard -> bool
val is_idempotent : standard -> bool
val to_string : t -> string
val of_string : string -> t
val pp_hum : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.