Files
YunTongJackYunTask/Reportapi/FrameWork/Fleck/Interfaces/IHandler.cs

17 lines
401 B
C#
Raw Normal View History

2025-07-04 09:50:02 +08:00
using System.Collections.Generic;
namespace Fleck
{
public interface IHandler
{
byte[] CreateHandshake(string subProtocol = null);
void Receive(IEnumerable<byte> data);
byte[] FrameText(string text);
byte[] FrameBinary(byte[] bytes);
byte[] FramePing(byte[] bytes);
byte[] FramePong(byte[] bytes);
byte[] FrameClose(int code);
}
}