Refactored a few for HttpListenerResponse.cs

This commit is contained in:
sta 2015-06-18 23:08:08 +09:00
parent 9c4482e770
commit d9d35a6527

View File

@ -785,8 +785,15 @@ namespace WebSocketSharp.Net
/// <exception cref="ArgumentException">
/// <paramref name="url"/> is empty.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has already been sent.
/// </exception>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
public void Redirect (string url)
{
checkDisposedOrHeadersSent ();
if (url == null)
throw new ArgumentNullException ("url");