This repository has been archived on 2023-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
hamakaze/Hamakaze/WebSocket/WsBinaryMessage.cs

12 lines
258 B
C#
Raw Permalink Normal View History

2022-04-09 22:34:05 +00:00
using System;
namespace Hamakaze.WebSocket {
public class WsBinaryMessage : WsMessage, IHasBinaryData {
2022-04-09 22:34:05 +00:00
public byte[] Data { get; }
public WsBinaryMessage(byte[] data) {
Data = data ?? Array.Empty<byte>();
}
}
}