Ejemplo n.º 1
0
 /// <summary>
 /// Put true Boolean value in request returns 301.  This request should not be
 /// automatically redirected, but should return the received 301 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 <HttpRedirectsPut301Headers> Put301Async(this IHttpRedirects operations, bool?booleanValue = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.Put301WithHttpMessagesAsync(booleanValue, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Headers);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Put true Boolean value in request returns 301.  This request should not be
 /// automatically redirected, but should return the received 301 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 Put301Async(this IHttpRedirects operations, bool?booleanValue = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.Put301WithHttpMessagesAsync(booleanValue, null, cancellationToken).ConfigureAwait(false);
 }