From a95c842c4493a079c19c72f243babcacf3725dd2 Mon Sep 17 00:00:00 2001 From: zucham Date: Thu, 1 May 2025 20:57:40 +0200 Subject: [PATCH] Mention WebSockets endpoint in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index bb502e0..c10968d 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ 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: `