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"> /// <param name="length">
/// An <see cref="int"/> that specifies the number of bytes to send. /// An <see cref="int"/> that specifies the number of bytes to send.
/// </param> /// </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"> /// <exception cref="ArgumentException">
/// <para> /// <para>
/// <paramref name="stream"/> cannot be read. /// <paramref name="stream"/> cannot be read.
@ -3678,6 +3671,13 @@ namespace WebSocketSharp
/// No data could be read from <paramref name="stream"/>. /// No data could be read from <paramref name="stream"/>.
/// </para> /// </para>
/// </exception> /// </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) public void Send (Stream stream, int length)
{ {
if (_readyState != WebSocketState.Open) { if (_readyState != WebSocketState.Open) {

Loading…
Cancel
Save