Esempio n. 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;
 }
 internal SendingRequestEventArgs( WebRequest request )
 {
     WebRequest = request;
 }
Esempio n. 3
0
 internal RedirectedWebResponse( Uri url, WebRequest request, Uri redirectUrl )
     : base(url, WebResponseType.Redirect, true)
 {
     this.request = request;
     this.redirectUrl = redirectUrl;
 }