[Modify] Edit it
This commit is contained in:
parent
daa6b95227
commit
5cf5b35dbc
@ -155,13 +155,13 @@ namespace WebSocketSharp.Server
|
|||||||
#region Public Methods
|
#region Public Methods
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Reads a file with the specified <paramref name="path"/> from
|
/// Reads the specified file from the document folder of
|
||||||
/// the document folder of the <see cref="HttpServer"/>.
|
/// the <see cref="HttpServer"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// An array of <see cref="byte"/> or <see langword="null"/>
|
/// An array of <see cref="byte"/> or <see langword="null"/>
|
||||||
/// if the file could not be read.
|
/// if it fails.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// That array receives the contents of the file.
|
/// That array receives the contents of the file.
|
||||||
@ -182,7 +182,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 byte[] ReadFile (string path)
|
public byte[] ReadFile (string path)
|
||||||
|
Loading…
Reference in New Issue
Block a user