WebApplicationFactoryClientOptions.MaxAutomaticRedirections Property
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.
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