Return type for GetBytesToSend, consisting of: - std::span<const uint8_t> to_send: span of bytes to be sent over the wire (possibly empty). - bool more: whether there will be more bytes to be sent after the ones in to_send are all sent (as signaled by MarkBytesSent()). - const std::string& m_type: message type on behalf of which this is being sent ("" for bytes that are not on behalf of any message).
Declared in <net.h>
using BytesToSend = std::tuple<std::span<uint8_t const>, bool, std::string const&>;