Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for process_name (0.07 sec)

  1. fastapi/applications.py

            async def add_process_time_header(request: Request, call_next):
                start_time = time.time()
                response = await call_next(request)
                process_time = time.time() - start_time
                response.headers["X-Process-Time"] = str(process_time)
                return response
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
Back to top