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
state
s andmiddleware
s. Note thatstate
s bound for ascope
will be shared between allroute
s under the samescope
, whereasmiddleware
s will be distinct instances for eachroute
.