servant-0.19.1: A family of combinators for defining webservices APIs
Safe Haskell Safe-Inferred
Language Haskell2010

Servant.API.HttpVersion

Synopsis

Documentation

| You can directly use the HttpVersion type from Network.HTTP.Types if your request handlers need it to compute a response. This would make the request handlers take an argument of type HttpVersion .

Example:

>>> type API = HttpVersion :> Get '[JSON] String