1{-# LANGUAGE PolyKinds #-}
2module Servant.API.Header where
4-- | Extract the given header's value as a value of type @a@.
8-- > newtype Referer = Referer Text
9-- > deriving (Eq, Show, FromText, ToText)
11-- > -- GET /view-my-referer
12-- > type MyApi = "view-my-referer" :> Header "from" Referer :> Get Referer
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list