Signals from WSGI Application and Server
The WSGI application entry point (wsgi_application) and the main lback.core.server.Server class are crucial components in the application’s lifecycle, handling incoming requests and managing the server. They emit signals at various stages, providing comprehensive hooks for monitoring server health, tracking request flow, handling initialization errors, and integrating with external logging and performance measurement tools.
Signal Name |
Description |
Arguments (kwargs) |
|---|---|---|
|
Emitted when the WSGI application encounters a critical error preventing request processing, typically due to core framework components not being initialized. |
|
|
Emitted immediately after a new request is received by the WSGI application, before any significant processing begins (e.g., Request object creation). |
|
|
Emitted at the very end of the WSGI application’s request processing, just before the final response is returned to the WSGI server. Includes performance metrics. |
|