Classes
Domain
1
▼
Protocol for pluggable domain modules.
A domain encapsulates a feature (e.g. admin, API, docs) and…
Domain
1
▼
Protocol for pluggable domain modules.
A domain encapsulates a feature (e.g. admin, API, docs) and registers its routes and middleware with the app when invoked.
Methods
register
1
▼
Register routes, middleware, and other extensions with the app.
register
1
▼
def register(self, app: App) -> None
Parameters
| Name | Type | Description |
|---|---|---|
app |
— |