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