Mention WebSockets endpoint in README
This commit is contained in:
@@ -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:
|
||||
|
||||
`
|
||||
|
Reference in New Issue
Block a user