Home / Report Question

Q. Which method allows handling WebSockets in FastAPI?
  • A. @app.websocket()
  • B. @app.ws()
  • C. @app.socket()
  • D. @app.websocket_route()