[Modify] Edit it

This commit is contained in:
sta 2017-06-30 17:40:16 +09:00
parent 8095728c06
commit d2a6c90d48

View File

@ -203,12 +203,11 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// Tries to read a file with the specified <paramref name="path"/> /// Tries to read the specified file from the document folder of
/// from the document folder of the <see cref="HttpServer"/>. /// the <see cref="HttpServer"/>.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// <c>true</c> if the file could successfully be read; /// <c>true</c> if it succeeds to read; otherwise, <c>false</c>.
/// otherwise, <c>false</c>.
/// </returns> /// </returns>
/// <param name="path"> /// <param name="path">
/// A <see cref="string"/> that represents a virtual path to /// A <see cref="string"/> that represents a virtual path to
@ -217,7 +216,7 @@ namespace WebSocketSharp.Server
/// <param name="contents"> /// <param name="contents">
/// <para> /// <para>
/// When this method returns, an array of <see cref="byte"/> or /// When this method returns, an array of <see cref="byte"/> or
/// <see langword="null"/> if the file could not be read. /// <see langword="null"/> if it fails.
/// </para> /// </para>
/// <para> /// <para>
/// That array receives the contents of the file. /// That array receives the contents of the file.
@ -234,7 +233,7 @@ namespace WebSocketSharp.Server
/// -or- /// -or-
/// </para> /// </para>
/// <para> /// <para>
/// <paramref name="path"/> is an invalid path. /// <paramref name="path"/> contains "..".
/// </para> /// </para>
/// </exception> /// </exception>
public bool TryReadFile (string path, out byte[] contents) public bool TryReadFile (string path, out byte[] contents)