Heartbeat#

struct Heartbeat#

FIX Heartbeat <0> message.

The Heartbeat <0> monitors the status of the communication link and identifies when the last of a string of messages was not received.

Public Functions

std::span<std::byte const> encode(roq::fix::Header const&, std::span<std::byte> const &buffer) const#

Encode to buffer.

bool is_valid() const#

Validate if message contains all required fields.

Public Members

std::string_view test_req_id#

TestReqId <112>

Public Static Functions

static Heartbeat create(roq::fix::Message const&)#

Decode.