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, Uri uri)
Parameters
Name | Type | Description |
---|---|---|
executionState | IExecutionState | The execution state. |
uri | Uri | The request URI. |
Return Value
Type | Description |
---|---|
Task |
The response. |