// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
namespace Microsoft.Graph.Core.Requests
{
using System.Threading;
using System.Threading.Tasks;
///
/// The interface IBatchRequest.
///
public interface IBatchRequest : IBaseRequest
{
///
/// Sends out the using the POST method
///
/// The for the request
///
Task PostAsync(BatchRequestContent batchRequestContent);
///
/// Sends out the using the POST method
///
/// The for the request
/// The for the request.
///
Task PostAsync(BatchRequestContent batchRequestContent, CancellationToken cancellationToken);
}
}