mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 11:45:43 +08:00
Refactor web socket usage
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace MQTTnet.Core.Channel
|
||||
{
|
||||
public static class BufferConstants
|
||||
{
|
||||
public const int Size = 4096 * 20;
|
||||
}
|
||||
}
|
||||
@@ -6,14 +6,11 @@ namespace MQTTnet.Core.Channel
|
||||
{
|
||||
public interface IMqttCommunicationChannel
|
||||
{
|
||||
Task ConnectAsync(MqttClientOptions options);
|
||||
|
||||
Task DisconnectAsync();
|
||||
|
||||
Stream SendStream { get; }
|
||||
|
||||
Stream ReceiveStream { get; }
|
||||
Stream RawReceiveStream { get; }
|
||||
|
||||
Stream RawStream { get; }
|
||||
Task ConnectAsync(MqttClientOptions options);
|
||||
Task DisconnectAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user