|
|
@ -228,9 +228,6 @@ namespace WebSocketSharp.Server |
|
|
|
/// That array receives the contents of the file.
|
|
|
|
/// </para>
|
|
|
|
/// </param>
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <paramref name="path"/> is <see langword="null"/>.
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentException">
|
|
|
|
/// <para>
|
|
|
|
/// <paramref name="path"/> is an empty string.
|
|
|
@ -242,6 +239,9 @@ namespace WebSocketSharp.Server |
|
|
|
/// <paramref name="path"/> contains "..".
|
|
|
|
/// </para>
|
|
|
|
/// </exception>
|
|
|
|
/// <exception cref="ArgumentNullException">
|
|
|
|
/// <paramref name="path"/> is <see langword="null"/>.
|
|
|
|
/// </exception>
|
|
|
|
public bool TryReadFile (string path, out byte[] contents) |
|
|
|
{ |
|
|
|
if (path == null) |
|
|
|