You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package provides a WebSocket client for real-time event streaming from the Mist API (`wss://{host}/api-ws/v1/stream`). Authentication is handled automatically using the same session credentials (API token or login/password).
484
485
486
+
### Connection Parameters
487
+
488
+
All channel classes accept the following optional keyword arguments to control the WebSocket keep-alive behaviour:
489
+
490
+
| Parameter | Type | Default | Description |
491
+
|-----------|------|---------|-------------|
492
+
|`ping_interval`|`int`|`30`| Seconds between automatic ping frames. Set to `0` to disable pings. |
493
+
|`ping_timeout`|`int`|`10`| Seconds to wait for a pong response before treating the connection as dead. |
0 commit comments