123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace BHJD.DBdll.Public
- {
- public abstract class IHttpHelper
- {
- public virtual string Request(HttpCmd type, object param) { return null; }
- public virtual string HttpGet(HttpCmd type, List<string> paramList) { return null; }
- public virtual string HttpPost(HttpCmd type, string jsonStr) { return null; }
-
- public enum HttpRequestType
- {
- GET,
- POST
- }
- public class HttpCmd
- {
- public HttpRequestType m_RequestType;
- public string m_Addr;
- public List<string> m_Args;
- }
- }
- }
|