From 9df46e204c76817c91b76425b39b17821c75cf2c Mon Sep 17 00:00:00 2001 From: Kyle Martin Date: Mon, 24 Jul 2023 09:48:08 -0400 Subject: [PATCH] better fill out notes on the particular dependencies for the tutorial --- docs/en/docs/advanced/websockets.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/en/docs/advanced/websockets.md b/docs/en/docs/advanced/websockets.md index 94cf191d2..8d5771eb5 100644 --- a/docs/en/docs/advanced/websockets.md +++ b/docs/en/docs/advanced/websockets.md @@ -2,20 +2,22 @@ You can use WebSockets with **FastAPI**. -## Install `WebSockets` +## Install `uvicorn` and `websockets` -First you need to install `WebSockets`: +First you need to install `uvicorn` and `websockets`:
```console -$ pip install websockets +$ pip install uvicorn websockets ---> 100% ```
+Uvicorn uses `websockets` to handle the websocket protocol. Note that FastAPI does not use the `websockets` package directly. + ## WebSockets client ### In production