Browse Source

[Modify] Edit it

master
sta 2 months ago
parent
commit
5b577d9daa
  1. 14
      websocket-sharp/WebSocket.cs

14
websocket-sharp/WebSocket.cs

@ -3929,13 +3929,6 @@ namespace WebSocketSharp
/// <see langword="null"/> if not necessary.
/// </para>
/// </param>
/// <exception cref="InvalidOperationException">
/// The SendAsync method is not available when the current state of
/// the interface is not Open.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="stream"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <para>
/// <paramref name="stream"/> cannot be read.
@ -3953,6 +3946,13 @@ namespace WebSocketSharp
/// No data could be read from <paramref name="stream"/>.
/// </para>
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="stream"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The SendAsync method is not available when the current state of
/// the interface is not Open.
/// </exception>
public void SendAsync (Stream stream, int length, Action<bool> completed)
{
if (_readyState != WebSocketState.Open) {

Loading…
Cancel
Save