[Modify] Edit it

This commit is contained in:
sta 2017-10-12 15:40:40 +09:00
parent 458d345982
commit 6a4d1c878b

View File

@ -417,13 +417,25 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Gets or sets a value indicating whether the <see cref="WebSocket"/> redirects /// Gets or sets a value indicating whether the URL redirection for
/// the handshake request to the new URL located in the handshake response. /// the handshake request is allowed.
/// </summary> /// </summary>
/// <remarks>
/// The set operation does nothing if the connection has already been
/// established or it is closing.
/// </remarks>
/// <value> /// <value>
/// <c>true</c> if the <see cref="WebSocket"/> redirects the handshake request to /// <para>
/// the new URL; otherwise, <c>false</c>. The default value is <c>false</c>. /// <c>true</c> if the URL redirection for the handshake request is
/// allowed; otherwise, <c>false</c>.
/// </para>
/// <para>
/// The default value is <c>false</c>.
/// </para>
/// </value> /// </value>
/// <exception cref="InvalidOperationException">
/// The set operation cannot be used by servers.
/// </exception>
public bool EnableRedirection { public bool EnableRedirection {
get { get {
return _enableRedirection; return _enableRedirection;