From cb3b592e988267f94c215585b02e02dd0ba8d1ac Mon Sep 17 00:00:00 2001 From: zucham Date: Thu, 1 May 2025 20:56:23 +0200 Subject: [PATCH] Mention WebSockets endpoint in README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index bb502e0..bd4c0a4 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,11 @@ Simply run the main Python file to start the server: ## Usage +To connect to the WebSocket for receiving subtitles and messages, simply use the `/ws` endpoint, for example like this: +` +websocat ws://localhost:8000/ws +` + To push new subtitles onto the server, use the `/subtitles` endpoint, for example like this: `