[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> /// </summary>
/// <remarks> /// <remarks>
/// <para> /// <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"/>. /// <paramref name="address"/> and <paramref name="port"/>.
/// </para> /// </para>
/// <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> /// </para>
/// </remarks> /// </remarks>
/// <param name="address"> /// <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>
/// <param name="port"> /// <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> /// </param>
/// <exception cref="ArgumentNullException"> /// <exception cref="ArgumentNullException">
/// <paramref name="address"/> is <see langword="null"/>. /// <paramref name="address"/> is <see langword="null"/>.
/// </exception> /// </exception>
/// <exception cref="ArgumentException"> /// <exception cref="ArgumentException">
/// <paramref name="address"/> isn't a local IP address. /// <paramref name="address"/> is not a local IP address.
/// </exception> /// </exception>
/// <exception cref="ArgumentOutOfRangeException"> /// <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> /// </exception>
public HttpServer (System.Net.IPAddress address, int port) public HttpServer (System.Net.IPAddress address, int port)
: this (address, port, port == 443) : this (address, port, port == 443)