Add hackage link to the cookie package

This commit is contained in:
JoeMShanahan 2017-07-17 11:18:13 +01:00
parent 2c0aa36ae9
commit e6c492ab2c

View File

@ -281,7 +281,8 @@ lookupAccount key = case Map.lookup key database of
For generalized authentication, servant exposes the `AuthHandler` type,
which is used to wrap the `Request -> Handler user` logic. Let's
create a value of type `AuthHandler Request Account` using the above `lookupAccount`
method (note: we depend upon `cookie`'s `parseCookies` for this):
method (note: we depend upon [`cookie`](https://hackage.haskell.org/package/cookie)'s
`parseCookies` for this):
```haskell
import Web.Cookie (parseCookies)