package dream-httpaf

  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
]
val is_safe : [> `GET | `HEAD | `OPTIONS | `TRACE ] -> bool
val is_cacheable : [> `GET | `HEAD | `POST ] -> bool
val is_idempotent : [> `DELETE | `GET | `HEAD | `OPTIONS | `PUT | `TRACE ] -> bool
val to_string : [< `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ] -> string
val of_string : string -> [> `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ]
val pp_hum : Stdlib.Format.formatter -> [< `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ] -> unit
OCaml

Innovation. Community. Security.