Browse Source

[Modify] Edit it

master
sta 2 months ago
parent
commit
6eae78902c
  1. 14
      websocket-sharp/WebSocket.cs

14
websocket-sharp/WebSocket.cs

@ -3556,13 +3556,6 @@ namespace WebSocketSharp
/// The file is sent as the binary data. /// The file is sent as the binary data.
/// </para> /// </para>
/// </param> /// </param>
/// <exception cref="InvalidOperationException">
/// The Send method is not available when the current state of
/// the interface is not Open.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="fileInfo"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException"> /// <exception cref="ArgumentException">
/// <para> /// <para>
/// The file does not exist. /// The file does not exist.
@ -3574,6 +3567,13 @@ namespace WebSocketSharp
/// The file could not be opened. /// The file could not be opened.
/// </para> /// </para>
/// </exception> /// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="fileInfo"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The Send method is not available when the current state of
/// the interface is not Open.
/// </exception>
public void Send (FileInfo fileInfo) public void Send (FileInfo fileInfo)
{ {
if (_readyState != WebSocketState.Open) { if (_readyState != WebSocketState.Open) {

Loading…
Cancel
Save