using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreAgent.WebSocketTransport.Models
{
partial class ProtocolMessage
{
///
/// 消息类型
///
public string Type { get; set; } = "Protocol";
///
/// 消息载荷
///
public HeartbeatPayload Payload { get; set; } = new HeartbeatPayload();
}
///
/// 心跳消息载荷
///
public class ProtocolPayload
{
///
/// 心跳消息内容
///
public string Message { get; set; } = "ping";
}
}