quart.routing module

class quart.routing.QuartMap(rules: Optional[Iterable[werkzeug.routing.RuleFactory]] = None, default_subdomain: str = '', charset: str = 'utf-8', strict_slashes: bool = True, merge_slashes: bool = True, redirect_defaults: bool = True, converters: Optional[Mapping[str, Type[werkzeug.routing.BaseConverter]]] = None, sort_parameters: bool = False, sort_key: Optional[Callable[[Any], Any]] = None, encoding_errors: str = 'replace', host_matching: bool = False)

Bases: werkzeug.routing.Map

bind_to_request(request: quart.wrappers.base.BaseRequestWebsocket, subdomain: Optional[str], server_name: Optional[str]) werkzeug.routing.MapAdapter
class quart.routing.QuartRule(string: str, defaults: Optional[dict] = None, subdomain: Optional[str] = None, methods: Optional[Iterable[str]] = None, endpoint: Optional[str] = None, strict_slashes: Optional[bool] = None, merge_slashes: Optional[bool] = None, host: Optional[str] = None, websocket: bool = False, provide_automatic_options: bool = False)

Bases: werkzeug.routing.Rule