Share via


HttpRouteMatch Class

Criteria to match on.

Constructor

HttpRouteMatch(*, prefix: str | None = None, path: str | None = None, path_separated_prefix: str | None = None, case_sensitive: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
prefix
str

match on all prefix's. Not exact.

Default value: None
path
str

match on exact path.

Default value: None
path_separated_prefix
str

match on all prefix's. Not exact.

Default value: None
case_sensitive

path case sensitive, default is true.

Default value: None

Variables

Name Description
prefix
str

match on all prefix's. Not exact.

path
str

match on exact path.

path_separated_prefix
str

match on all prefix's. Not exact.

case_sensitive

path case sensitive, default is true.