WebApplicationFactoryClientOptions.AllowAutoRedirect 속성

정의

를 호출 CreateClient(WebApplicationFactoryClientOptions) 하여 만든 인스턴스가 리디렉션 응답을 자동으로 따라야 하는지 여부를 HttpClient 가져오거나 설정합니다. 기본값은 true입니다.

public:
 property bool AllowAutoRedirect { bool get(); void set(bool value); };
public bool AllowAutoRedirect { get; set; }
member this.AllowAutoRedirect : bool with get, set
Public Property AllowAutoRedirect As Boolean

속성 값

적용 대상