/// <summary> /// Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the /// header of the request /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='fooClientRequestId'> /// The fooRequestId /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <HeaderCustomNamedRequestIdHeaders> CustomNamedRequestIdAsync(this IHeaderOperations operations, string fooClientRequestId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CustomNamedRequestIdWithHttpMessagesAsync(fooClientRequestId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Headers); } }
/// <summary> /// Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the /// header of the request /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='fooClientRequestId'> /// The fooRequestId /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task CustomNamedRequestIdAsync(this IHeaderOperations operations, string fooClientRequestId, CancellationToken cancellationToken = default(CancellationToken)) { await operations.CustomNamedRequestIdWithHttpMessagesAsync(fooClientRequestId, null, cancellationToken).ConfigureAwait(false); }