[Modify] Edit it

This commit is contained in:
sta 2017-07-05 17:22:08 +09:00
parent 821139a569
commit 1c517700d4

View File

@ -215,27 +215,29 @@ namespace WebSocketSharp.Server
/// </summary>
/// <remarks>
/// <para>
/// An instance initialized by this constructor listens for the incoming requests on
/// The new instance listens for incoming requests on
/// <paramref name="address"/> and <paramref name="port"/>.
/// </para>
/// <para>
/// If <paramref name="port"/> is 443, that instance provides a secure connection.
/// It provides secure connections if <paramref name="port"/> is 443.
/// </para>
/// </remarks>
/// <param name="address">
/// A <see cref="System.Net.IPAddress"/> that represents the local IP address of the server.
/// A <see cref="System.Net.IPAddress"/> that represents
/// the local IP address on which to listen.
/// </param>
/// <param name="port">
/// An <see cref="int"/> that represents the port number on which to listen.
/// An <see cref="int"/> that represents the number of the port
/// on which to listen.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="address"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <paramref name="address"/> isn't a local IP address.
/// <paramref name="address"/> is not a local IP address.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// <paramref name="port"/> isn't between 1 and 65535 inclusive.
/// <paramref name="port"/> is less than 1 or greater than 65535.
/// </exception>
public HttpServer (System.Net.IPAddress address, int port)
: this (address, port, port == 443)