[Modify] Rename it

This commit is contained in:
sta 2018-05-15 19:40:40 +09:00
parent 5d2d5e3568
commit bd5b8ded8c

View File

@ -481,14 +481,14 @@ namespace WebSocketSharp.Server
/// <param name="file"> /// <param name="file">
/// A <see cref="FileInfo"/> that represents the file to send. /// A <see cref="FileInfo"/> that represents the file to send.
/// </param> /// </param>
protected void Send (FileInfo file) protected void Send (FileInfo fileInfo)
{ {
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.Send (file); _websocket.Send (fileInfo);
} }
/// <summary> /// <summary>