Logout

struct Logout

FIX Logout <5> message.

This message can be used by either side to initiate orderly session shutdown. The other side should respond with a :code:Logout (:code:5) message and then disconnect.

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 text

Text <58>

Public Static Functions

static Logout create(roq::fix::Message const&)

Decode.