12 lines
275 B
C#
12 lines
275 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace HermesSocketLibrary.Socket.Data
|
|
{
|
|
public class SocketMessage
|
|
{
|
|
[JsonPropertyName("op")]
|
|
public int? OpCode { get; set; }
|
|
[JsonPropertyName("d")]
|
|
public object? Data { get; set; }
|
|
}
|
|
} |