|
|
|
|
@ -2662,12 +2662,12 @@ namespace WebSocketSharp
|
|
|
|
|
/// <param name="data">
|
|
|
|
|
/// An array of <see cref="byte"/> that represents the binary data to send.
|
|
|
|
|
/// </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>
|
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
|
/// <paramref name="data"/> is <see langword="null"/>.
|
|
|
|
|
/// </exception>
|
|
|
|
|
public void Send (byte[] data)
|
|
|
|
|
{
|
|
|
|
|
if (_readyState != WebSocketState.Open) {
|
|
|
|
|
|