Gets the Response from which this Response has been redirected.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax
Parameters
- depth
- Type: System Int32
How far to traverse up the redirect chain.
Field Value
The Response which this Response has been redirected from, or null if no redirection occurred.Return Value
[Missing <returns> documentation for "M:Facilita.Web.Response.GetRedirectedFrom(System.Int32)"]
Remarks
If the request was not redirected, then this method returns null.
Examples
Request request1 = WebBrowser.CreateRequest(HttpMethod.GET, url1, 1); Response response1 = request1.Send(); if (response1.WasRedirected) { Response redirectedResponse = response1.GetRedirectedFrom(2); ... }
See Also