[Modify] Remove it

This commit is contained in:
sta 2017-08-08 17:12:01 +09:00
parent 9dbeb5a7e2
commit 7018bab939

View File

@ -163,16 +163,6 @@ namespace WebSocketSharp
return ret;
}
internal static string CheckIfAvailable (
this ServerState state, bool ready, bool start, bool shutting)
{
return (!ready && (state == ServerState.Ready || state == ServerState.Stop)) ||
(!start && state == ServerState.Start) ||
(!shutting && state == ServerState.ShuttingDown)
? "This operation isn't available in: " + state.ToString ().ToLower ()
: null;
}
internal static string CheckIfAvailable (
this WebSocketState state, bool connecting, bool open, bool closing, bool closed)
{