using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using RestSharp; using xHttpService.Constants; using xIdentityModels.Models; namespace xHttpService.Interfaces { public partial interface IXHttpProvider { HttpClient GetHttpClient (); RestClient GetRestClient ( string baseUrl = null, string poweredByValue = null, XTokenResponse tokens = null ); RestRequest GetRestRequet ( string endpoint, IDictionary @params = null, IDictionary headers = null, IDictionary queryStrings = null ); Task RunRestRequest ( RestClient client, RestRequest request, XHttpMethod method ); } }