DurableHttpRequest Class

Definition

Request used to make an HTTP call through Durable Functions.

public class DurableHttpRequest
type DurableHttpRequest = class
Public Class DurableHttpRequest
Inheritance
DurableHttpRequest

Constructors

DurableHttpRequest(HttpMethod, Uri, IDictionary<String,StringValues>, String, ITokenSource, Boolean, Nullable<TimeSpan>, HttpRetryOptions)

Initializes a new instance of the DurableHttpRequest class.

Properties

AsynchronousPatternEnabled

Specifies whether the Durable HTTP APIs should automatically handle the asynchronous HTTP pattern.

Content

Content passed with the HTTP request made by the Durable Function.

Headers

Headers passed with the HTTP request made by the Durable Function.

HttpRetryOptions

Defines retry policy for handling of failures in making the HTTP Request. These could be non-successful HTTP status codes in the response, a timeout in making the HTTP call, or an exception raised from the HTTP Client library.

Method

HttpMethod used in the HTTP request made by the Durable Function.

Timeout

The total timeout for the original HTTP request and any asynchronous polling.

TokenSource

Mechanism for attaching an OAuth token to the request.

Uri

Uri used in the HTTP request made by the Durable Function.

Applies to