R

Ravina • 3.96K Points
Extraordinary

Q. Which Starlette class does FastAPI use for handling WebSocket connections?

  • (A) WebSocketServer
  • (B) SocketHandler
  • (C) WebSocket
  • (D) FastSocket
  • Correct Answer - Option(C)
  • Views: 40
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

FastAPI handles WebSocket connections using the `WebSocket` class from Starlette.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.