123456789101112131415161718192021 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Edge.Core.HttpClient
- {
- public interface IHttpClient
- {
- Task<HttpResponseMessage> PostAsync(string api, StringContent? parmaJson);
- Task<HttpResponseMessage> PostAsyncByParams(string api, Dictionary<string, string>? parmas);
- Task<HttpResponseMessage> GetAsync(string api, Dictionary<string,string> parmas);
- Task<HttpResponseMessage> PutAsync(string api, StringContent? parmaJson);
- Task<HttpResponseMessage> DeleteAsync(string api, StringContent? parmaJson);
- }
- }
|