Share via


RedirectHandler Class

Definition

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