[Modify] Rename it
This commit is contained in:
parent
5d2d5e3568
commit
bd5b8ded8c
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user