Skip to main content

put

Function put 

Source
pub fn put(key: &str, value: &Value) -> bool
Expand description

Writes a value a session-backed property persists.

Returns false when the route has no session, so the caller can skip the write instead of panicking in the middle of a render.