mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
update readme
This commit is contained in:
parent
8924335338
commit
4340726198
@ -13,9 +13,10 @@ Note that whatever you write into your session is visible by the user (but not m
|
|||||||
Constructor panics if key length is less than 32 bytes.
|
Constructor panics if key length is less than 32 bytes.
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
# extern crate actix;
|
extern crate actix_web;
|
||||||
# extern crate actix_web;
|
extern crate actix_redis;
|
||||||
# use actix_web::*;
|
|
||||||
|
use actix_web::*;
|
||||||
use actix_web::middleware::SessionStorage;
|
use actix_web::middleware::SessionStorage;
|
||||||
use actix_redis::RedisSessionBackend;
|
use actix_redis::RedisSessionBackend;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user