首页 > TAG信息列表 > httpservice

HttpService帮助类,POST方法和Get方法

1 public class HttpServiceHelper 2 { 3 public static string Post(string xml, string url, int timeout) 4 { 5 System.GC.Collect();//垃圾回收,回收没有正常关闭的http连接 6 string result = "";//返回结果 7