[Modify] Edit it

This commit is contained in:
sta 2016-11-24 16:34:54 +09:00
parent ecabc73eb0
commit cf2eb179c1

View File

@ -2892,6 +2892,29 @@ namespace WebSocketSharp
/// 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.
/// </param>
/// <exception cref="InvalidOperationException">
/// The current state of the connection 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.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// <paramref name="length"/> is less than 1.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// No data could be read from <paramref name="stream"/>.
/// </para>
/// </exception>
public void SendAsync (Stream stream, int length, Action<bool> completed)
{
if (_readyState != WebSocketState.Open) {