Module

HTTPurple.Version

Package
purescript-httpurple
Repository
sigma-andex/purescript-httpurple

#Version Source

data Version

These are the HTTP versions that HTTPurple 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.