|
|
|
@ -2657,11 +2657,17 @@ namespace WebSocketSharp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Sends binary <paramref name="data"/> using the WebSocket connection.
|
|
|
|
/// Sends the specified <paramref name="data"/> using the WebSocket connection.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="data">
|
|
|
|
/// <param name="data">
|
|
|
|
/// An array of <see cref="byte"/> that represents the binary data to send.
|
|
|
|
/// An array of <see cref="byte"/> that represents the binary data to send.
|
|
|
|
/// </param>
|
|
|
|
/// </param>
|
|
|
|
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
|
|
|
|
/// <paramref name="data"/> is <see langword="null"/>.
|
|
|
|
|
|
|
|
/// </exception>
|
|
|
|
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
|
|
|
|
/// The current state of the connection is not Open.
|
|
|
|
|
|
|
|
/// </exception>
|
|
|
|
public void Send (byte[] data)
|
|
|
|
public void Send (byte[] data)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (data == null)
|
|
|
|
if (data == null)
|
|
|
|
|