mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 09:43:05 +08:00
Initial commit.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
using MQTTnet.Core.Channel;
|
||||
using MQTTnet.Core.Packets;
|
||||
|
||||
namespace MQTTnet.Core.Serializer
|
||||
{
|
||||
public interface IMqttPacketSerializer
|
||||
{
|
||||
Task SerializeAsync(MqttBasePacket mqttPacket, IMqttTransportChannel destination);
|
||||
|
||||
Task<MqttBasePacket> DeserializeAsync(IMqttTransportChannel source);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user