Crates.io | iron-sessionstorage2 |
lib.rs | iron-sessionstorage2 |
version | 0.7.1 |
source | src |
created_at | 2017-10-09 07:26:10.21592 |
updated_at | 2017-10-14 16:08:02.172921 |
description | Session middleware for Iron. |
homepage | https://github.com/yinyanlv/iron-sessionstorage |
repository | https://github.com/yinyanlv/iron-sessionstorage |
max_upload_size | |
id | 34956 |
size | 19,997 |
Session middleware for Iron, allows you to store data in a simple type-to-string map for each user.
See examples for usage.
You can use one of the included backends for data storage or roll your own:
A cookie-based backend is available by default. You will need to provide a key with which values will be signed.
A redis backend can be enabled using the redis-backend
feature.
Licensed under the MIT, see LICENSE
.