1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/state
blackjune 511ab8ce51
Fix bug in state type
Fix bug in state type 
```rust
let counter = Arc::new(Mutex::new(0));
```
may not be usize

Error before this change:
```
App data is not configured, to configure use App::data()
```
2019-05-25 22:22:43 +08:00
..
src Fix bug in state type 2019-05-25 22:22:43 +08:00
Cargo.toml upgrade actix-web 2019-05-12 11:58:26 -07:00
README.md Correct path 2018-05-20 18:17:00 -07:00

state

Usage

server

cd examples/state
cargo run
# Started http server: 127.0.0.1:8080

web client