[Modify] Edit it

This commit is contained in:
sta 2017-08-16 15:07:37 +09:00
parent 0ea4de410a
commit 8e5d517458

View File

@ -3420,23 +3420,35 @@ namespace WebSocketSharp
}
/// <summary>
/// Sends the specified <paramref name="length"/> of data from
/// the specified <paramref name="stream"/> asynchronously using
/// Sends the data from <paramref name="stream"/> asynchronously using
/// the WebSocket connection.
/// </summary>
/// <remarks>
/// <para>
/// The data is sent as the binary data.
/// </para>
/// <para>
/// This method does not wait for the send to be complete.
/// </para>
/// </remarks>
/// <param name="stream">
/// A <see cref="Stream"/> from which reads the binary data to send.
/// A <see cref="Stream"/> instance from which to read the data to send.
/// </param>
/// <param name="length">
/// An <see cref="int"/> that specifies the number of bytes to read and send.
/// An <see cref="int"/> that specifies the number of bytes to send.
/// </param>
/// <param name="completed">
/// An <c>Action&lt;bool&gt;</c> delegate that invokes the method called when
/// the send is complete. A <see cref="bool"/> passed to this delegate will be
/// <c>true</c> if the send has done with no error.
/// <para>
/// An <c>Action&lt;bool&gt;</c> delegate or <see langword="null"/>
/// if not needed.
/// </para>
/// <para>
/// The delegate invokes the method called when the send is complete.
/// </para>
/// <para>
/// <c>true</c> is passed to the method if the send has done with
/// no error; otherwise, <c>false</c>.
/// </para>
/// </param>
/// <exception cref="InvalidOperationException">
/// The current state of the connection is not Open.