[Modify] Remove it
This commit is contained in:
parent
c89f186964
commit
cf6d4dc9ac
@ -787,16 +787,6 @@ namespace WebSocketSharp
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private string checkIfAvailable (
|
|
||||||
bool client, bool server, bool connecting, bool open, bool closing, bool closed)
|
|
||||||
{
|
|
||||||
return !client && _client
|
|
||||||
? "This operation isn't available in: client"
|
|
||||||
: !server && !_client
|
|
||||||
? "This operation isn't available in: server"
|
|
||||||
: _readyState.CheckIfAvailable (connecting, open, closing, closed);
|
|
||||||
}
|
|
||||||
|
|
||||||
private bool checkIfAvailable (
|
private bool checkIfAvailable (
|
||||||
bool connecting, bool open, bool closing, bool closed, out string message
|
bool connecting, bool open, bool closing, bool closed, out string message
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user