[Modify] Remove it
This commit is contained in:
parent
9dbeb5a7e2
commit
7018bab939
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user