예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RedirectedWebResponse"/> class.
 /// </summary>
 /// <param name="responseUrl">The URL of the response.</param>
 /// <param name="request">The original web request.</param>
 /// <param name="redirectUrl">The redirect URL of the response.</param>
 public RedirectedWebResponse( Uri responseUrl, WebRequest request, Uri redirectUrl )
     : base(true, responseUrl, WebResponseType.Redirect)
 {
     this.request = request;
     this.redirectUrl = redirectUrl;
 }
예제 #2
0
 internal SendingRequestEventArgs( WebRequest request )
 {
     WebRequest = request;
 }
예제 #3
0
 internal RedirectedWebResponse( Uri url, WebRequest request, Uri redirectUrl )
     : base(url, WebResponseType.Redirect, true)
 {
     this.request = request;
     this.redirectUrl = redirectUrl;
 }