function scope#
-
template<basic_fixed_string Path = "">
inline auto fitoria::web::scope()# Provides the way to create scopes.
- DESCRIPTION
A path and must be specified for construction. And users can optionally bind it with
states andmiddlewares. Note thatstates bound for ascopewill be shared between allroutes under the samescope, whereasmiddlewares will be distinct instances for eachroute.