diff options
Diffstat (limited to 'modules/websocket/wsl_peer.h')
-rw-r--r-- | modules/websocket/wsl_peer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/websocket/wsl_peer.h b/modules/websocket/wsl_peer.h index c4fe18630c..07bd850607 100644 --- a/modules/websocket/wsl_peer.h +++ b/modules/websocket/wsl_peer.h @@ -99,6 +99,8 @@ private: int close_code = -1; String close_reason; uint8_t was_string = 0; + uint64_t last_heartbeat = 0; + bool heartbeat_waiting = false; // WebSocket configuration. bool use_tls = true; |