package piaf

  1. Overview
  2. Docs
val error_msgf : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) result) format4 -> 'c
exception Invalid_token
val is_tspecials : char -> bool
val is_ctl : char -> bool
val is_space : char -> bool
val is_ascii : char -> bool
val is_token : char -> bool
val is_obs_no_ws_ctl : char -> bool
val is_qtext : char -> bool
module Type : sig ... end
module Subtype : sig ... end
module Parameters : sig ... end
type t = {
  1. ty : Type.t;
  2. subty : Subtype.t;
  3. parameters : (string * Parameters.value) list;
}
val default : t
val ty : t -> Type.t
val subty : t -> Subtype.t
val parameters : t -> (string * Parameters.value) list
val is_discrete : t -> bool
val is_multipart : t -> bool
val with_type : t -> Type.t -> t
val with_subtype : t -> Subtype.t -> t
val with_parameter : t -> (Parameters.key * Parameters.value) -> t
val boundary : t -> string option
val pp : Format.formatter -> t -> unit
val equal : t -> t -> bool
module Decoder : sig ... end
val of_string : string -> (t, [> Unstrctrd.error ]) result
module Encoder : sig ... end
val to_string : t -> string
OCaml

Innovation. Community. Security.