Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. fastapi/routing.py

            # Same as in Starlette
            await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    
        return app
    
    
    # Copy of starlette.routing.websocket_session modified to include the
    # dependencies' AsyncExitStack
    def websocket_session(
        func: Callable[[WebSocket], Awaitable[None]],
    ) -> ASGIApp:
        """
        Takes a coroutine `func(session)`, and returns an ASGI application.
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top