wai-session-redis: Simple Redis backed wai-session backend.

[ bsd3, library, program, web ] [ Propose Tags ]

Simple Redis backed wai-session backend. This module allows you to store session data of wai-sessions in a Redis database.

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,
Dependencies base (>=4.10.0 && <5), bytestring (>=0.10 && <0.12), cereal (>=0.5.8 && <0.6), data-default (>=0.7 && <0.8), hedis (>=0.14 && <0.16), http-types (<0.13), vault (>=0.3.1 && <0.4), wai (>=3.2 && <3.3), wai-session (>=0.3.3 && <0.4), wai-session-redis, warp (<3.4) [details]
License BSD-3-Clause
Copyright (c) 2021 t4ccer
Author t4ccer
Maintainer t4ccer@gmail.com
Category Web
Home page https://github.com/t4ccer/wai-session-redis#readme
Bug tracker https://github.com/t4ccer/wai-session-redis/issues
Source repo head: git clone https://github.com/t4ccer/wai-session-redis
Uploaded by t4ccer at 2022-03-20T17:23:03Z
Distributions LTSHaskell:
Executables wai-session-redis-example-exe
Downloads 852 total (14 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-20 [all 1 reports]

Readme for wai-session-redis-

[back to package description]


GitHub Workflow Status Hackage

Provides Redis based session store for Network.Wai.Session
For example usage view example/Main.hs


To run tests wai-session-redis must have access to running redis instance.

Using docker and stack

docker run --name redis-session-tests -p 6379:6379 -d redis
stack test
docker rm -f redis-session-tests

Using nix

Nix takes care of running redis instance and testing wai-session-redis.