Documentation

Std.Internal.Http.Data.Version

Version #

This module defines Version, the set of HTTP protocol versions modeled by this library.

Reference: https://httpwg.org/specs/rfc9110.html#protocol.version

HTTP protocol versions modeled by this library.

Reference: https://httpwg.org/specs/rfc9110.html#protocol.version

Instances For
    @[implicit_reducible]
    @[implicit_reducible]
    @[implicit_reducible]

    Converts a pair of Nat to the corresponding Version.

    Instances For

      Converts String to the corresponding Version.

      Instances For

        Converts String to the corresponding Version, panics if invalid.

        Instances For

          Converts a Version to its corresponding major and minor numbers as a pair.

          Instances For
            @[implicit_reducible]