Browse Source

[Modify] Edit it

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

14
websocket-sharp/WebSocket.cs

@ -3654,13 +3654,6 @@ namespace WebSocketSharp
/// <param name="length">
/// An <see cref="int"/> that specifies the number of bytes to send.
/// </param>
/// <exception cref="InvalidOperationException">
/// The Send 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.
@ -3678,6 +3671,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 Send method is not available when the current state of
/// the interface is not Open.
/// </exception>
public void Send (Stream stream, int length)
{
if (_readyState != WebSocketState.Open) {

Loading…
Cancel
Save