Skip to content

Commit fcb4b66

Browse files
committed
[Modify] Remove it
1 parent e8cafc3 commit fcb4b66

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

websocket-sharp/WebSocket.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -793,23 +793,6 @@ private string checkIfAvailable (
793793
: _readyState.CheckIfAvailable (connecting, open, closing, closed);
794794
}
795795

796-
private bool checkIfAvailable (bool client, bool server, out string message)
797-
{
798-
message = null;
799-
800-
if (!client && _client) {
801-
message = "This operation isn't available in: client";
802-
return false;
803-
}
804-
805-
if (!server && !_client) {
806-
message = "This operation isn't available in: server";
807-
return false;
808-
}
809-
810-
return true;
811-
}
812-
813796
private bool checkIfAvailable (
814797
bool connecting, bool open, bool closing, bool closed, out string message
815798
)

0 commit comments

Comments
 (0)