|
|
@ -3794,13 +3794,6 @@ namespace WebSocketSharp |
|
|
|
/// <see langword="null"/> if not necessary.
|
|
|
|
/// </para>
|
|
|
|
/// </param>
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// The SendAsync 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">
|
|
|
|
/// <para>
|
|
|
|
/// The file does not exist.
|
|
|
@ -3812,6 +3805,13 @@ namespace WebSocketSharp |
|
|
|
/// The file could not be opened.
|
|
|
|
/// </para>
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <paramref name="fileInfo"/> is <see langword="null"/>.
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// The SendAsync method is not available when the current state of
|
|
|
|
/// the interface is not Open.
|
|
|
|
/// </exception>
|
|
|
|
public void SendAsync (FileInfo fileInfo, Action<bool> completed) |
|
|
|
{ |
|
|
|
if (_readyState != WebSocketState.Open) { |
|
|
|