|
@ -1402,7 +1402,7 @@ namespace WebSocketSharp.Server |
|
|
protected void SendAsync (FileInfo fileInfo, Action<bool> completed) |
|
|
protected void SendAsync (FileInfo fileInfo, Action<bool> completed) |
|
|
{ |
|
|
{ |
|
|
if (_websocket == null) { |
|
|
if (_websocket == null) { |
|
|
var msg = "The session has not started yet."; |
|
|
|
|
|
|
|
|
var msg = "The SendAsync method is not available."; |
|
|
|
|
|
|
|
|
throw new InvalidOperationException (msg); |
|
|
throw new InvalidOperationException (msg); |
|
|
} |
|
|
} |
|
|