WebApplicationFactoryClientOptions.MaxAutomaticRedirections Property

Definition

Gets or sets the maximum number of redirect responses that HttpClient instances created by calling CreateClient(WebApplicationFactoryClientOptions) should follow. The default is 7.

public:
 property int MaxAutomaticRedirections { int get(); void set(int value); };
public int MaxAutomaticRedirections { get; set; }
member this.MaxAutomaticRedirections : int with get, set
Public Property MaxAutomaticRedirections As Integer

Property Value

Applies to