예제 #1
0
 /// <summary>
 /// Return 502 status code, then 200 after retry
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task Get502Async(this IHttpRetry operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.Get502WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }
예제 #2
0
 /// <summary>
 /// Return 502 status code, then 200 after retry
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task Get502Async(this IHttpRetry operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.Get502WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }