clarify haddocks for HasClient
This commit is contained in:
parent
d93e4620d4
commit
530797eb42
1 changed files with 2 additions and 3 deletions
|
@ -44,9 +44,8 @@ client :: HasClient layout => Proxy layout -> Client layout
|
||||||
client p = clientWithRoute p defReq
|
client p = clientWithRoute p defReq
|
||||||
|
|
||||||
-- | This class lets us define how each API combinator
|
-- | This class lets us define how each API combinator
|
||||||
-- influences the creation of an HTTP request. Use 'client'
|
-- influences the creation of an HTTP request. It's mostly
|
||||||
-- directly, this class implements the client-side
|
-- an internal class, you can just use 'client'.
|
||||||
-- behavior of each combinator but you don't have to worry about it.
|
|
||||||
class HasClient layout where
|
class HasClient layout where
|
||||||
type Client layout :: *
|
type Client layout :: *
|
||||||
clientWithRoute :: Proxy layout -> Req -> Client layout
|
clientWithRoute :: Proxy layout -> Req -> Client layout
|
||||||
|
|
Loading…
Reference in a new issue