RequestTimeoutOptions 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.
Specifies options for the request timeouts middleware.
public sealed class RequestTimeoutOptions
type RequestTimeoutOptions = class
Public NotInheritable Class RequestTimeoutOptions
- Inheritance
-
RequestTimeoutOptions
Constructors
RequestTimeoutOptions() |
Properties
DefaultPolicy |
Applied to any request without a policy set via endpoint metadata. No value by default. |
Policies |
Dictionary of policies that would be applied per endpoint. Policy names are case-insensitive. |
Methods
AddPolicy(String, RequestTimeoutPolicy) |
Adds a new policy. |
AddPolicy(String, TimeSpan) |
Adds a new policy. |