12 lines
242 B
C#
12 lines
242 B
C#
|
using System;
|
||
|
|
||
|
namespace Hamakaze.WebSocket {
|
||
|
public class WsBinaryMessage : WsMessage {
|
||
|
public byte[] Data { get; }
|
||
|
|
||
|
public WsBinaryMessage(byte[] data) {
|
||
|
Data = data ?? Array.Empty<byte>();
|
||
|
}
|
||
|
}
|
||
|
}
|