package ez_api

  1. Overview
  2. Docs
type str_or_star = [
  1. | `star
  2. | `str of string
]
type t = {
  1. typ : str_or_star;
  2. subtyp : str_or_star;
  3. param : (string * string) option;
}
val parse : string -> t option
val to_string : t -> string
val allowed : t list -> string option -> bool
val json : t
val multipart : t
val content_type_of_file : string -> string
OCaml

Innovation. Community. Security.