-
Notifications
You must be signed in to change notification settings - Fork 9
/
wai-session.cabal
53 lines (49 loc) · 1.7 KB
/
wai-session.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: wai-session
version: 0.3.3
cabal-version: >= 1.8
license: OtherLicense
license-file: COPYING
category: Web
copyright: © 2012 Stephen Paul Weber
author: Stephen Paul Weber <[email protected]>
maintainer: Stephen Paul Weber <[email protected]>
stability: experimental
tested-with: GHC == 7.0.3
synopsis: Flexible session middleware for WAI
homepage: https://github.com/singpolyma/wai-session
bug-reports: https://github.com/singpolyma/wai-session/issues
build-type: Simple
description:
Provides a generic, cookie-based middleware for sessions that is
parameterised over the session store, the cookie name, and the
cookie parameters (such as path, expiry, etc). Passes a pair of
functions (lookup key, set key) for the current session through the
'Vault' in the 'Request'.
.
Also provides a simple example session store based on threadsafe
'IORef's and 'Data.Map'.
.
See example/Main.hs in git for example usage.
extra-source-files:
README
library
exposed-modules:
Network.Wai.Session,
Network.Wai.Session.Map
build-depends:
base == 4.*,
containers,
bytestring,
bytestring-builder,
entropy,
transformers,
time,
StateVar,
vault,
cookie,
wai >= 2.0.0,
http-types,
blaze-builder
source-repository head
type: git
location: git://github.com/singpolyma/wai-session.git