Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for receive_wrapper (0.2 sec)

  1. tests/test_custom_middleware_exception.py

        """
    
        def __init__(self, app: APIRouter, max_content_size: Optional[int] = None):
            self.app = app
            self.max_content_size = max_content_size
    
        def receive_wrapper(self, receive):
            received = 0
    
            async def inner():
                nonlocal received
                message = await receive()
                if message["type"] != "http.request":
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Aug 25 21:44:40 GMT 2022
    - 2.8K bytes
    - Viewed (0)
Back to top