Classes
ServerLauncher
2
▼
Runs development or production server based on app config.
ServerLauncher
2
▼
Runs development or production server based on app config.
Methods
run
4
▼
run
4
▼
def run(self, app: App, *, host: str | None, port: int | None, lifecycle_collector: LifecycleCollector | None) -> None
Parameters
| Name | Type | Description |
|---|---|---|
app |
— |
|
host |
— |
|
port |
— |
|
lifecycle_collector |
— |
Internal Methods 1 ▼
__init__
2
▼
__init__
2
▼
def __init__(self, config: AppConfig, mutable_state: MutableAppState) -> None
Parameters
| Name | Type | Description |
|---|---|---|
config |
— |
|
mutable_state |
— |