[Modify] Polish it
This commit is contained in:
parent
b69c255e6e
commit
903dd2fc36
@ -445,7 +445,7 @@ namespace WebSocketSharp
|
|||||||
string msg = null;
|
string msg = null;
|
||||||
|
|
||||||
if (!_client) {
|
if (!_client) {
|
||||||
msg = "The set operation cannot be used by servers.";
|
msg = "This instance is not a client.";
|
||||||
throw new InvalidOperationException (msg);
|
throw new InvalidOperationException (msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user