// // MessageWrapper.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace NosSmooth.Comms.Data.Messages; /// /// A wrapper, each message is sent wrapped. /// /// The version of protocol used. /// The id of the message, used for connecting responses to messages. /// The message itself. /// The type of the message. public record MessageWrapper(long ProtocolVersion, long MessageId, TMessage Data);