File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -473,14 +473,33 @@ protected void Send (byte[] data)
473473 }
474474
475475 /// <summary>
476- /// Sends the specified <paramref name=" file"/> as binary data to the client on a session .
476+ /// Sends the specified file to a client using the WebSocket connection .
477477 /// </summary>
478- /// <remarks>
479- /// This method is available after the WebSocket connection has been established.
480- /// </remarks>
481- /// <param name="file">
482- /// A <see cref="FileInfo"/> that represents the file to send.
478+ /// <param name="fileInfo">
479+ /// <para>
480+ /// A <see cref="FileInfo"/> that specifies the file to send.
481+ /// </para>
482+ /// <para>
483+ /// The file is sent as the binary data.
484+ /// </para>
483485 /// </param>
486+ /// <exception cref="InvalidOperationException">
487+ /// The current state of the connection is not Open.
488+ /// </exception>
489+ /// <exception cref="ArgumentNullException">
490+ /// <paramref name="fileInfo"/> is <see langword="null"/>.
491+ /// </exception>
492+ /// <exception cref="ArgumentException">
493+ /// <para>
494+ /// The file does not exist.
495+ /// </para>
496+ /// <para>
497+ /// -or-
498+ /// </para>
499+ /// <para>
500+ /// The file could not be opened.
501+ /// </para>
502+ /// </exception>
484503 protected void Send ( FileInfo fileInfo )
485504 {
486505 if ( _websocket == null ) {
You can’t perform that action at this time.
0 commit comments