Browse Source

[Modify] Edit it

master
sta 2 months ago
parent
commit
b68b4b12cd
  1. 6
      websocket-sharp/WebSocket.cs

6
websocket-sharp/WebSocket.cs

@ -3744,13 +3744,13 @@ namespace WebSocketSharp
/// <see langword="null"/> if not necessary. /// <see langword="null"/> if not necessary.
/// </para> /// </para>
/// </param> /// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="data"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="InvalidOperationException"> /// <exception cref="InvalidOperationException">
/// The SendAsync method is not available when the current state of /// The SendAsync method is not available when the current state of
/// the interface is not Open. /// the interface is not Open.
/// </exception> /// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="data"/> is <see langword="null"/>.
/// </exception>
public void SendAsync (byte[] data, Action<bool> completed) public void SendAsync (byte[] data, Action<bool> completed)
{ {
if (_readyState != WebSocketState.Open) { if (_readyState != WebSocketState.Open) {

Loading…
Cancel
Save