1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00

Scope configuration (#880)

* WIP: Scope configuarion

* Extensions: Fix into_iter()

* Scope: Fix tests

* Add ScopeConfig to web

Committing from mobile, if this doesn't look good it's because I haven't tested it...

* Scope Config: Use ServiceConfig instead

* Scope: Switch to ServiceConfig in doc

* ScopeConfig: Remove unnecessary changes, handle the case when data is empty

* ScopeConfig: Remove changes from actix-http
This commit is contained in:
Denys Vitali
2019-06-03 19:12:37 +02:00
committed by Nikolay Kim
parent 4a179d1ae1
commit 1fce4876f3
2 changed files with 88 additions and 1 deletions

View File

@@ -188,7 +188,7 @@ impl ServiceConfig {
}
}
/// Set application data. Applicatin data could be accessed
/// Set application data. Application data could be accessed
/// by using `Data<T>` extractor where `T` is data type.
///
/// This is same as `App::data()` method.