RedirectHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A DelegatingHandler that follows redirect responses.
public ref class RedirectHandler : System::Net::Http::DelegatingHandler
public class RedirectHandler : System.Net.Http.DelegatingHandler
type RedirectHandler = class
inherit DelegatingHandler
Public Class RedirectHandler
Inherits DelegatingHandler
- Inheritance
-
RedirectHandler
Constructors
RedirectHandler() |
Creates a new instance of RedirectHandler. |
RedirectHandler(Int32) |
Creates a new instance of RedirectHandler. |
Properties
MaxRedirects |
Gets the maximum number of redirects this handler will follow. |
Methods
SendAsync(HttpRequestMessage, CancellationToken) | Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for