1{-# LANGUAGE TypeFamilies #-}
2{-# LANGUAGE OverloadedStrings #-}
3module Servant.Client where
7import Servant.Common.Req
9-- * Accessing APIs as a Client
11-- | 'client' allows you to produce operations to query an API from a client.
12client :: HasClient layout => Proxy layout -> Client layout
13client p = clientWithRoute p defReq
15class HasClient layout where
16 type Client layout :: *
17 clientWithRoute :: Proxy layout -> Req -> Client layout
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