RedirectHandlerOption 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 redirect middleware option class
public class RedirectHandlerOption : Microsoft.Graph.IMiddlewareOption
type RedirectHandlerOption = class
interface IMiddlewareOption
Public Class RedirectHandlerOption
Implements IMiddlewareOption
- Inheritance
-
RedirectHandlerOption
- Implements
Constructors
RedirectHandlerOption() |
Constructs a new RedirectHandlerOption |
Properties
MaxRedirect |
The maximum number of redirects with a maximum value of 20. This defaults to 5 redirects. |
ShouldRedirect |
A delegate that's called to determine whether a response should be redirected or not. The delegate method should accept HttpResponseMessage as it's parameter and return a Boolean. This defaults to true. |