Browse Source

[Modify] Edit it

pull/533/merge
sta 1 year ago
parent
commit
d9b46745fc
  1. 12
      websocket-sharp/Server/WebSocketBehavior.cs

12
websocket-sharp/Server/WebSocketBehavior.cs

@ -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) {

Loading…
Cancel
Save