package piaf

  1. Overview
  2. Docs
include module type of struct include Httpun.Version end
type t = Httpun.Version.t = {
  1. major : int;
    (*

    The major protocol number.

    *)
  2. minor : int;
    (*

    The minor protocol number.

    *)
}
val compare : t -> t -> int
val to_string : t -> string
val of_string : string -> t
val pp_hum : Stdlib.Format.formatter -> t -> unit
val v1_0 : t
val v1_1 : t
val v2_0 : t
val to_version : t -> http_version option
val to_version_exn : t -> http_version
val of_version : http_version -> t
OCaml

Innovation. Community. Security.