[Modify] Rename it

This commit is contained in:
sta 2018-05-23 19:05:08 +09:00
parent 74cd02dace
commit c50c33ceca

View File

@ -594,14 +594,14 @@ namespace WebSocketSharp.Server
/// the send is complete. A <see cref="bool"/> passed to this delegate is <c>true</c> /// the send is complete. A <see cref="bool"/> passed to this delegate is <c>true</c>
/// if the send is complete successfully. /// if the send is complete successfully.
/// </param> /// </param>
protected void SendAsync (FileInfo file, Action<bool> completed) protected void SendAsync (FileInfo fileInfo, Action<bool> completed)
{ {
if (_websocket == null) { if (_websocket == null) {
var msg = "The current state of the connection is not Open."; var msg = "The current state of the connection is not Open.";
throw new InvalidOperationException (msg); throw new InvalidOperationException (msg);
} }
_websocket.SendAsync (file, completed); _websocket.SendAsync (fileInfo, completed);
} }
/// <summary> /// <summary>