[−][src]Trait actix_web::middleware::session::SessionImpl
A simple key-value storage interface that is internally used by Session
.
Required Methods
fn get(&self, key: &str) -> Option<&str>
Get session value by key
fn set(&mut self, key: &str, value: String)
Set session value
fn remove(&mut self, key: &str)
Remove specific key from session
fn clear(&mut self)
Remove all values from session
fn write(&self, resp: HttpResponse) -> Result<Response>
Write session to storage backend.