|
ORE Studio 0.0.4
|
Service for handling heartbeat (ping/pong) protocol on the server. More...
#include <heartbeat_service.hpp>

Static Public Member Functions | |
| static boost::asio::awaitable< void > | handle_ping (net::connection &conn, std::uint32_t sequence, std::uint32_t correlation_id) |
| Handle incoming ping from client and send pong response. | |
Service for handling heartbeat (ping/pong) protocol on the server.
Provides server-side handling of ping messages by sending pong responses. Client-side heartbeat is handled by the client's message loop using correlation IDs for response matching.
|
static |
Handle incoming ping from client and send pong response.
| conn | Connection to send pong response on |
| sequence | Sequence number for pong frame |
| correlation_id | Correlation ID to echo back in pong |