using System.Net.Sockets;
namespace XGame.Framework.Network
{
public struct SessionEventArgs
{
public ESessionCode code;
public bool isSocketError;
public SocketError socketError;
///
/// Webgl²ÅÓÐ
///
public int websocketCode;
public string errorMsg;
}
public struct RequestEventArgs
{
public int seqId;
public int protoId;
public bool isFilter;
public ESessionCode code;
}
public struct ResponseEventArgs
{
public long errorCode;
public string info;
public int seqId;
public int protoId;
public override string ToString()
{
return $"";
}
}
}