Added the IsSendable (CloseStatusCode) method
This commit is contained in:
		@@ -620,6 +620,11 @@ namespace WebSocketSharp
 | 
				
			|||||||
      return !code.IsReserved () || code.IsNoStatusCode ();
 | 
					      return !code.IsReserved () || code.IsNoStatusCode ();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    internal static bool IsSendable (this CloseStatusCode code)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      return !code.IsReserved () || code.IsNoStatusCode ();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    internal static bool IsText (this string value)
 | 
					    internal static bool IsText (this string value)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      var len = value.Length;
 | 
					      var len = value.Length;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user