Browse Source

[Modify] Polish it

master
sta 2 months ago
parent
commit
8b3115e3ad
  1. 2
      websocket-sharp/WebSocket.cs

2
websocket-sharp/WebSocket.cs

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

Loading…
Cancel
Save