|
|
@ -1097,6 +1097,12 @@ namespace WebSocketSharp.Server |
|
|
|
/// <param name="data">
|
|
|
|
/// A <see cref="string"/> that specifies the text data to send.
|
|
|
|
/// </param>
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
/// <paramref name="data"/> could not be UTF-8-encoded.
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <paramref name="data"/> is <see langword="null"/>.
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// <para>
|
|
|
|
/// The session has not started yet.
|
|
|
@ -1108,12 +1114,6 @@ namespace WebSocketSharp.Server |
|
|
|
/// The current state of the WebSocket interface is not Open.
|
|
|
|
/// </para>
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <paramref name="data"/> is <see langword="null"/>.
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
/// <paramref name="data"/> could not be UTF-8-encoded.
|
|
|
|
/// </exception>
|
|
|
|
protected void Send (string data) |
|
|
|
{ |
|
|
|
if (_websocket == null) { |
|
|
|