Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for APIRouter (0.07 sec)

  1. cmd/object-handlers_test.go

    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler,`func (api objectAPIHandlers) GetObjectHandler`  handles the request.
    		apiRouter.ServeHTTP(rec, req)
    
    		// Assert the response code with the expected status.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

            """
            Include another `APIRouter` in the same current `APIRouter`.
    
            Read more about it in the
            [FastAPI docs for Bigger Applications](https://fastapi.tiangolo.com/tutorial/bigger-applications/).
    
            ## Example
    
            ```python
            from fastapi import APIRouter, FastAPI
    
            app = FastAPI()
            internal_router = APIRouter()
            users_router = APIRouter()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    "https://fastapi.tiangolo.com/advanced/sub-applications/"
                )
            self.webhooks: Annotated[
                routing.APIRouter,
                Doc(
                    """
                    The `app.webhooks` attribute is an `APIRouter` with the *path
                    operations* that will be used just for documentation of webhooks.
    
                    Read more about it in the
    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