Add hackage link to the cookie package
This commit is contained in:
parent
2c0aa36ae9
commit
e6c492ab2c
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue