Sends a GET request with exponential back-off.
- Namespace
- Statiq
.Common - Containing Type
- I
Execution State Extensions
Syntax
public static Task<HttpResponseMessage> SendHttpRequestWithRetryAsync(this IExecutionState executionState, string uri)
Parameters
Name | Type | Description |
---|---|---|
executionState | IExecutionState | The execution state. |
uri | string | The request URI. |
Return Value
Type | Description |
---|---|
Task |
The response. |