[Modify] Edit it

This commit is contained in:
sta 2019-11-03 21:23:27 +09:00
parent f4f101384a
commit a57af99741

View File

@ -906,28 +906,29 @@ namespace WebSocketSharp.Net
/// <summary> /// <summary>
/// Configures the response to redirect the client's request to /// Configures the response to redirect the client's request to
/// the specified <paramref name="url"/>. /// the specified URL.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// This method sets the <see cref="HttpListenerResponse.RedirectLocation"/> property to /// This method sets the <see cref="RedirectLocation"/> property to
/// <paramref name="url"/>, the <see cref="HttpListenerResponse.StatusCode"/> property to /// <paramref name="url"/>, the <see cref="StatusCode"/> property to
/// <c>302</c>, and the <see cref="HttpListenerResponse.StatusDescription"/> property to /// <c>302</c>, and the <see cref="StatusDescription"/> property to
/// <c>"Found"</c>. /// <c>"Found"</c>.
/// </remarks> /// </remarks>
/// <param name="url"> /// <param name="url">
/// A <see cref="string"/> that represents the URL to redirect the client's request to. /// A <see cref="string"/> that represents the URL to which the client is
/// redirected to locate a requested resource.
/// </param> /// </param>
/// <exception cref="ArgumentNullException"> /// <exception cref="ArgumentNullException">
/// <paramref name="url"/> is <see langword="null"/>. /// <paramref name="url"/> is <see langword="null"/>.
/// </exception> /// </exception>
/// <exception cref="ArgumentException"> /// <exception cref="ArgumentException">
/// <paramref name="url"/> isn't an absolute URL. /// <paramref name="url"/> is not an absolute URL.
/// </exception> /// </exception>
/// <exception cref="InvalidOperationException"> /// <exception cref="InvalidOperationException">
/// The response has already been sent. /// The response is already being sent.
/// </exception> /// </exception>
/// <exception cref="ObjectDisposedException"> /// <exception cref="ObjectDisposedException">
/// This object is closed. /// This instance is closed.
/// </exception> /// </exception>
public void Redirect (string url) public void Redirect (string url)
{ {