The interval for websocket keep-alive pings. Set websocket_ping_interval = 0 to disable pings.
(self)
| 281 | |
| 282 | @property |
| 283 | def ping_interval(self) -> Optional[float]: |
| 284 | """The interval for websocket keep-alive pings. |
| 285 | |
| 286 | Set websocket_ping_interval = 0 to disable pings. |
| 287 | """ |
| 288 | return self.settings.get("websocket_ping_interval", None) |
| 289 | |
| 290 | @property |
| 291 | def ping_timeout(self) -> Optional[float]: |