Module Http.Version

HTTP versions.

type t = version

The type for versions. See version.

val decode : string -> (version, string) Stdlib.result

decode s decodes a version from s.

val encode : version -> string

encode v encodes the version v. Assumes correct integer ranges.

val pp : Stdlib.Format.formatter -> version -> unit

pp is an unspecified formatter for versions.