Module

HTTPure.Version

Package
purescript-httpure
Repository
citizennet/purescript-httpure

#Version Source

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 Source

read :: Request -> Version

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