Removed the IsSendable methods

This commit is contained in:
sta 2015-01-29 15:50:13 +09:00
parent 5c64c3c90e
commit 91adf42611

View File

@ -635,16 +635,6 @@ namespace WebSocketSharp
code == CloseStatusCode.TlsHandshakeFailure;
}
internal static bool IsSendable (this ushort code)
{
return !code.IsReserved () || code.IsNoStatusCode ();
}
internal static bool IsSendable (this CloseStatusCode code)
{
return !code.IsReserved () || code.IsNoStatusCode ();
}
internal static bool IsText (this string value)
{
var len = value.Length;