WebApplicationFactoryClientOptions 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.
The default options to use to when creating HttpClient instances by calling CreateClient(WebApplicationFactoryClientOptions).
public ref class WebApplicationFactoryClientOptions
public class WebApplicationFactoryClientOptions
type WebApplicationFactoryClientOptions = class
Public Class WebApplicationFactoryClientOptions
- Inheritance
-
WebApplicationFactoryClientOptions
Constructors
WebApplicationFactoryClientOptions() |
Initializes a new instance of WebApplicationFactoryClientOptions. |
Properties
AllowAutoRedirect |
Gets or sets whether or not HttpClient instances created by calling
CreateClient(WebApplicationFactoryClientOptions)
should automatically follow redirect responses.
The default is |
BaseAddress |
Gets or sets the base address of HttpClient instances created by calling
CreateClient(WebApplicationFactoryClientOptions).
The default is |
HandleCookies |
Gets or sets whether HttpClient instances created by calling
CreateClient(WebApplicationFactoryClientOptions)
should handle cookies.
The default is |
MaxAutomaticRedirections |
Gets or sets the maximum number of redirect responses that HttpClient instances
created by calling CreateClient(WebApplicationFactoryClientOptions)
should follow.
The default is |