Language

AndroidMessageHandler.AllowAutoRedirect Property

Definition

Gets or sets a value that indicates whether the handler should follow redirection responses. The default value is true.

public bool AllowAutoRedirect { get; set; }
member this.AllowAutoRedirect : bool with get, set

Property Value

true to follow redirect responses; otherwise, false.

Remarks

The handler disables automatic redirect following for each underlying HttpURLConnection and processes redirect responses itself.

Applies to