1
0
mirror of synced 2024-11-05 02:59:16 +00:00
Tapeti/IMessageSerializer.cs

11 lines
241 B
C#

using RabbitMQ.Client;
namespace Tapeti
{
public interface IMessageSerializer
{
byte[] Serialize(object message, IBasicProperties properties);
object Deserialize(byte[] body, IBasicProperties properties);
}
}