Files
fastapi/docs/es/docs/advanced/testing-websockets.md
Sebastián Ramírez 869de156e8 🌐 Update translations for es (update-outdated) (#15155)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com>
2026-03-19 19:15:55 +01:00

429 B

Probando WebSockets

Puedes usar el mismo TestClient para probar WebSockets.

Para esto, usas el TestClient en un statement with, conectándote al WebSocket:

{* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}

/// note | Nota

Para más detalles, revisa la documentación de Starlette sobre probar WebSockets.

///