RequestOptions Class

Definition

This class contains the request parameters like timeout, Retry Policy and unique requestId

public class RequestOptions
type RequestOptions = class
Public Class RequestOptions
Inheritance
RequestOptions

Constructors

RequestOptions()

Initializes request Id as GUID, Timeout as 60 seconds, and the request option as No retry

RequestOptions(RetryPolicy)

Initializes request Id as GUID (default), Timeout as 60 seconds (default), and the request option

RequestOptions(String, TimeSpan, RetryPolicy)

Initializes request Id, Timeout, and the request option

RequestOptions(TimeSpan, RetryPolicy)

Initializes request Id as GUID (default), Timeout and the request option as supplied by consumer

Properties

RequestId

Unique request Id of the Http Request

RetryOption

Type of retry policy to use

TimeOut

Timeout for Http request and stream read and write

Applies to