12 releases (4 breaking)

Uses old Rust 2015

0.6.6 Feb 20, 2017
0.6.5 Feb 20, 2017
0.6.3 Jan 17, 2017
0.5.0 Nov 26, 2016
0.1.0 Oct 29, 2016

#980 in HTTP server

Download history 9/week @ 2023-06-07 62/week @ 2023-06-14 122/week @ 2023-06-21 71/week @ 2023-06-28 88/week @ 2023-07-05 42/week @ 2023-07-12 68/week @ 2023-07-19 74/week @ 2023-07-26 35/week @ 2023-08-02 63/week @ 2023-08-09 72/week @ 2023-08-16 44/week @ 2023-08-23 29/week @ 2023-08-30 93/week @ 2023-09-06 58/week @ 2023-09-13 31/week @ 2023-09-20

224 downloads per month
Used in medal

MIT license

13KB
277 lines

iron-sessionstorage Build Status

Session middleware for Iron, allows you to store data in a simple type-to-string map for each user.

See examples for usage.

Backends

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.

License

Licensed under the MIT, see LICENSE.

Dependencies

~6.5MB
~152K SLoC