mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 17:22:57 +01:00
Add note for accessing session state in stream. (#285)
This commit is contained in:
parent
d98ebf2bdf
commit
82a100d96c
@ -65,7 +65,7 @@
|
|||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! The session state can be accessed and modified by your request handlers using the [`Session`]
|
//! The session state can be accessed and modified by your request handlers using the [`Session`]
|
||||||
//! extractor.
|
//! extractor. Note that this doesn't work in the stream of a streaming response.
|
||||||
//!
|
//!
|
||||||
//! ```no_run
|
//! ```no_run
|
||||||
//! use actix_web::Error;
|
//! use actix_web::Error;
|
||||||
|
Loading…
Reference in New Issue
Block a user