namespace eSuite.API.SingleSignOn;

/// <summary>
/// 
/// </summary>
public interface IHttpClientFacade
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="request"></param>
    /// <param name="cancellationToken"></param>
    /// <returns></returns>
    Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken);
    
    /// <summary>
    /// 
    /// </summary>
    /// <param name="uri"></param>
    /// <param name="cancellationToken"></param>
    /// <returns></returns>
    Task<string> GetStringAsync(Uri uri, CancellationToken cancellationToken);
}