예제 #1
0
 /// <summary>
 /// Patch true Boolean value in request returns 302.  This request should not
 /// be automatically redirected, but should return the received 302 to the
 /// caller for evaluation
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='booleanValue'>
 /// Simple boolean value true
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <HttpRedirectsPatch302Headers> Patch302Async(this IHttpRedirects operations, bool?booleanValue = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.Patch302WithHttpMessagesAsync(booleanValue, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Headers);
     }
 }
예제 #2
0
 /// <summary>
 /// Patch true Boolean value in request returns 302.  This request should not
 /// be automatically redirected, but should return the received 302 to the
 /// caller for evaluation
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='booleanValue'>
 /// Simple boolean value true
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task Patch302Async(this IHttpRedirects operations, bool?booleanValue = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.Patch302WithHttpMessagesAsync(booleanValue, null, cancellationToken).ConfigureAwait(false);
 }