13 lines
281 B
C#
13 lines
281 B
C#
|
using System.Text.Json.Serialization;
|
||
|
|
||
|
namespace CommonSocketLibrary.Common
|
||
|
{
|
||
|
public class WebSocketMessage
|
||
|
{
|
||
|
[JsonPropertyName("op")]
|
||
|
public int OpCode { get; set; }
|
||
|
|
||
|
[JsonPropertyName("d")]
|
||
|
public object? Data { get; set; }
|
||
|
}
|
||
|
}
|