Removed the IsSendable methods
This commit is contained in:
parent
5c64c3c90e
commit
91adf42611
@ -635,16 +635,6 @@ namespace WebSocketSharp
|
|||||||
code == CloseStatusCode.TlsHandshakeFailure;
|
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)
|
internal static bool IsText (this string value)
|
||||||
{
|
{
|
||||||
var len = value.Length;
|
var len = value.Length;
|
||||||
|
Loading…
Reference in New Issue
Block a user