IHttpClient.cs 374 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Edge.Core.HttpClient
  7. {
  8. public interface IHttpClient
  9. {
  10. Task<HttpResponseMessage> PostAsync(string api, StringContent? parmaJson);
  11. Task<HttpResponseMessage> GetAsync(string api, Dictionary<string,string> parmas);
  12. }
  13. }