[Modify] Remove it

This commit is contained in:
sta 2017-11-22 15:45:24 +09:00
parent 1b4210af0f
commit eb2c76fba9

View File

@ -1020,31 +1020,6 @@ namespace WebSocketSharp
return true;
}
private bool checkIfAvailable (
bool client,
bool server,
bool connecting,
bool open,
bool closing,
bool closed,
out string message
)
{
message = null;
if (!client && _client) {
message = "This operation is not available in: client";
return false;
}
if (!server && !_client) {
message = "This operation is not available in: server";
return false;
}
return checkIfAvailable (connecting, open, closing, closed, out message);
}
private static bool checkProtocols (string[] protocols, out string message)
{
message = null;