route()
Decorator to register a route handler.
Usage
route(
method,
path,
)Parameters
method: str-
HTTP method.
path: str-
URL path pattern.
Returns
callable-
Decorated handler function.
Decorator to register a route handler.
Usage
method: strHTTP method.
path: strURL path pattern.
callableDecorated handler function.