diff --git a/actix_session/struct.Session.html b/actix_session/struct.Session.html index 983f3f9db..4b8ffc87d 100644 --- a/actix_session/struct.Session.html +++ b/actix_session/struct.Session.html @@ -25,18 +25,18 @@ request handlers and it will be automatically extracted from the incoming reques }
You can also retrieve a Session
object from an HttpRequest
or a ServiceRequest
using
SessionExt
.
Get a value
from the session.
Get a value
from the session.
It returns an error if it fails to deserialize as T
the JSON value associated with key
.
Get all raw key-value data from the session.
Note that values are JSON encoded.
Returns session status.
-Inserts a key-value pair into the session.
+Inserts a key-value pair into the session.
Any serializable value can be used and will be encoded as JSON in session data, hence why only a reference to the value is taken.
It returns an error if it fails to serialize value
to JSON.
Remove value from the session.
If present, the JSON encoded value is returned.
-Remove value from the session and deserialize.
+