Exemple #1
0
 /// <summary>
 /// Send a post request with header values "scenario": "valid", "value":
 /// "P123DT22H14M12.011S"
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='scenario'>
 /// Send a post request with header values "scenario": "valid"
 /// </param>
 /// <param name='value'>
 /// Send a post request with header values "P123DT22H14M12.011S"
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ParamDurationAsync(this IHeader operations, string scenario, System.TimeSpan value, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ParamDurationWithHttpMessagesAsync(scenario, value, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }