Available on crate feature
state only.Expand description
Global application state and server handle.
Populate GlobalState (fields depend on enabled features), attach it with
.build() as app data, and let ServerHandle own the actix server lifecycle.
Structsยง
- Global
State - Shared application state, stored as actix-web
Data<GlobalState>. - Server
Handle - Owns the running server: start/stop timestamps, running flag and the stop signal.