~ruther/NosSmooth.Comms

ref: edcd26a2f21092371c9169ae56ae85c144a8bfd7 NosSmooth.Comms/src/Core/NosSmooth.Comms.Abstractions/Messages/RawPacketMessage.cs -rw-r--r-- 638 bytes
edcd26a2 — Rutherther feat: move to new injection supporting passing in data and returning integer 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
//  RawPacketMessage.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.

using NosSmooth.PacketSerializer.Abstractions.Attributes;

namespace NosSmooth.Comms.Data.Messages;

/// <summary>
/// A message containing serialized packet.
/// </summary>
/// <remarks>
/// May be used for sending or receiving a packet.
/// </remarks>
/// <param name="Source">The source the packet comes from.</param>
/// <param name="Packet">The packet string.</param>
public record RawPacketMessage(PacketSource Source, string Packet);