Skip to content

Commit 65247bd

Browse files
committed
Update README
1 parent 7286312 commit 65247bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The WebsocketServer can be initialized with the below parameters.
5959

6060
*`key`* - If using SSL, this is the path to the key.
6161

62-
*`cert`* - If using SSL, this is the path to the certificate.
62+
*`cert`* - If using SSL, this is the path to the certificate.
6363

6464

6565
### Properties
@@ -78,6 +78,9 @@ The WebsocketServer can be initialized with the below parameters.
7878
| `set_fn_message_received()` | Sets a callback function that will be called when a `client` sends a message | function | None |
7979
| `send_message()` | Sends a `message` to a specific `client`. The message is a simple string. | client, message | None |
8080
| `send_message_to_all()` | Sends a `message` to **all** connected clients. The message is a simple string. | message | None |
81+
| `shutdown_gracefully()` | Shutdown server by sending a websocket CLOSE handshake to all connected clients. | None | None |
82+
| `shutdown_abruptly()` | Shutdown server without sending any websocket CLOSE handshake. | None | None |
83+
8184

8285

8386
### Callback functions

0 commit comments

Comments
 (0)