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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla