ntminer 5 years ago
parent
commit
5e5aef9196
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/NTMinerDataSchemas/User/WsUserName.cs

+ 4 - 0
src/NTMinerDataSchemas/User/WsUserName.cs

@@ -11,6 +11,10 @@ namespace NTMiner.User {
         public string ClientVersion { get; set; }
         public Guid ClientId { get; set; }
         public string UserId { get; set; }
+        /// <summary>
+        /// 表示是否支持收发二进制格式的WsMessage。
+        /// </summary>
+        public bool IsBinarySupported { get; set; }
 
         public bool IsValid() {
             return !string.IsNullOrEmpty(UserId) && ClientId != Guid.Empty && Version.TryParse(ClientVersion, out _);