using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace RudderSdk.Unity
{
  public interface IUnityRequestExecutor
  {
    Task<string> SendAsync(
      string method,
      string url,
      string body,
      IReadOnlyDictionary<string, string> headers,
      CancellationToken cancellationToken = default);
  }
}
