R

Ravina • 3.96K Points
Extraordinary

Q. Which FastAPI component is used to manage middleware?

  • (A) MiddlewareStack
  • (B) MiddlewareManager
  • (C) add_middleware()
  • (D) use_middleware()
  • Correct Answer - Option(C)
  • Views: 34
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

FastAPI uses `add_middleware()` to add middleware to the app.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.