RedirectPolicy 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.
A pipeline policy that detects a redirect response code and resends the request to the location specified by the response.
public sealed class RedirectPolicy : Azure.Core.Pipeline.HttpPipelinePolicy
type RedirectPolicy = class
inherit HttpPipelinePolicy
Public NotInheritable Class RedirectPolicy
Inherits HttpPipelinePolicy
- Inheritance
Methods
Process(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) |
Applies the policy to the |
ProcessAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) |
Applies the policy to the |
SetAllowAutoRedirect(HttpMessage, Boolean) |
Sets a value that indicates whether redirects will be automatically followed for this message. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for