Classes
ASGIRuntime
2
▼
Dispatches ASGI scopes to lifecycle or request handling.
ASGIRuntime
2
▼
Dispatches ASGI scopes to lifecycle or request handling.
Methods
handle
3
▼
async
handle
3
▼
async def handle(self, scope: Scope, receive: Receive, send: Send) -> None
Parameters
| Name | Type | Description |
|---|---|---|
scope |
— |
|
receive |
— |
|
send |
— |
Internal Methods 1 ▼
__init__
5
▼
__init__
5
▼
def __init__(self, config: AppConfig, mutable_state: MutableAppState, runtime_state: RuntimeAppState, lifecycle: LifecycleCoordinator, ensure_frozen: Callable[[], None]) -> None
Parameters
| Name | Type | Description |
|---|---|---|
config |
— |
|
mutable_state |
— |
|
runtime_state |
— |
|
lifecycle |
— |
|
ensure_frozen |
— |