Mention WebSockets endpoint in README

This commit is contained in:
2025-05-01 20:57:40 +02:00
parent eeb3c610a9
commit a95c842c44

View File

@@ -26,6 +26,12 @@ Simply run the main Python file to start the server:
## Usage ## 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: To push new subtitles onto the server, use the `/subtitles` endpoint, for example like this:
` `