Skip to content

Commit 41b07aa

Browse files
committed
Updated docs for keepalive websocket RPC
1 parent 2a62486 commit 41b07aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/event.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ This command takes the same arguments as [Trigger](#trigger).
171171

172172
| Flag | Shorthand | Description | Example | Required? (Y/N) |
173173
|---------------------|-----------|----------------------------------------------------------------------------------------------------------------------|-----------------------------|-----------------|
174-
| `--broadcaster` | `-b` | The broadcaster's user ID to be used for verification | `-b 1234` | N |
174+
| `--broadcaster` | `-b` | The broadcaster's user ID to be used for verification | `-b 1234` | N |
175175
| `--forward-address` | `-F` | Web server address for where to send mock subscription. | `-F https://localhost:8080` | Y |
176176
| `--no-config` | `-D` | Disables the use of the configuration values should they exist. | `-D` | N |
177177
| `--secret` | `-s` | Webhook secret. If defined, signs all forwarded events with the SHA256 HMAC and must be 10-100 characters in length. | `-s testsecret` | N |
@@ -210,6 +210,7 @@ Provides access to a mock EventSub WebSocket server. More information can be fou
210210
| `--reason` | | Specifies the Close message code you wish to close a client’s connection with. Only used with "twitch websocket close" | `twitch event websocket close --reason=4006` |
211211
| `--status` | | Specifies the Status code you wish to override an existing subscription’s status to. Only used with "twitch websocket close" | `twitch event websocket subscription --status=user_removed` |
212212
| `--subscription` | | Specifies the subscription ID you wish to target. Only used with “twitch websocket subscription”. | `twitch event websocket subscription --subscription=48d3-b9a-f84c` |
213+
| `--enabled` | | Sets on/off for the specified feature. | `twitch event websocket keepalive --session=e411cc1e_a2613d4e --enabled=false` |
213214
214215
**Examples**
215216
@@ -218,4 +219,5 @@ twitch event websocket start-server
218219
twitch event websocket reconnect
219220
twitch event websocket close --session=e411cc1e_a2613d4e --reason=4006
220221
twitch event websocket subscription --status=user_removed --subscription=82a855-fae8-93bff0
222+
twitch event websocket keepalive --session=e411cc1e_a2613d4e --enabled=false
221223
```

0 commit comments

Comments
 (0)