/// <summary> /// Send a post request with header values "scenario": "valid", "value": "Wed, /// 01 Jan 2010 12:34:56 GMT" or "scenario": "min", "value": "Mon, 01 Jan 0001 /// 00:00:00 GMT" /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='scenario'> /// Send a post request with header values "scenario": "valid" or "min" /// </param> /// <param name='value'> /// Send a post request with header values "Wed, 01 Jan 2010 12:34:56 GMT" or /// "Mon, 01 Jan 0001 00:00:00 GMT" /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ParamDatetimeRfc1123Async(this IHeader operations, string scenario, System.DateTime?value = default(System.DateTime?), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.ParamDatetimeRfc1123WithHttpMessagesAsync(scenario, value, null, cancellationToken).ConfigureAwait(false)).Dispose(); }