Browse Source

[Modify] Polish it

master
sta 2 months ago
parent
commit
7f3ac9ea82
  1. 2
      websocket-sharp/WebSocket.cs

2
websocket-sharp/WebSocket.cs

@ -3533,7 +3533,7 @@ namespace WebSocketSharp
public void Send (byte[] data) public void Send (byte[] data)
{ {
if (_readyState != WebSocketState.Open) { if (_readyState != WebSocketState.Open) {
var msg = "The current state of the interface is not Open.";
var msg = "The Send method is not available.";
throw new InvalidOperationException (msg); throw new InvalidOperationException (msg);
} }

Loading…
Cancel
Save