Module

HTTPure.Version

#Version

data Version

These are the HTTP versions that HTTPure understands. There are five commonly known versions which are explicitly named.

Constructors

Instances

  • Eq Version

    If two Versions are the same constructor, they are equal.

  • Show Version

    Allow a Version to be represented as a string. This string is formatted as it would be in an HTTP request/response.

#read

read :: Request -> Version

Take an HTTP Request and extract the Version for that request.

Modules