|
|
|
@ -823,8 +823,8 @@ namespace WebSocketSharp.Server
|
|
|
|
throw new InvalidOperationException (msg);
|
|
|
|
throw new InvalidOperationException (msg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (message == null)
|
|
|
|
if (message.IsNullOrEmpty ())
|
|
|
|
throw new ArgumentNullException ("message");
|
|
|
|
return broadping (WebSocketFrame.EmptyPingBytes, _waitTime);
|
|
|
|
|
|
|
|
|
|
|
|
byte[] bytes;
|
|
|
|
byte[] bytes;
|
|
|
|
if (!message.TryGetUTF8EncodedBytes (out bytes)) {
|
|
|
|
if (!message.TryGetUTF8EncodedBytes (out bytes)) {
|
|
|
|
|