You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System.Threading.Tasks;
- using MQTTnet.Core.Channel;
- using MQTTnet.Core.Packets;
-
- namespace MQTTnet.Core.Serializer
- {
- public interface IMqttPacketSerializer
- {
- MqttProtocolVersion ProtocolVersion { get; set; }
-
- Task SerializeAsync(MqttBasePacket mqttPacket, IMqttCommunicationChannel destination);
-
- Task<MqttBasePacket> DeserializeAsync(IMqttCommunicationChannel source);
- }
- }
|