Beispiel #1
0
 /// <summary>
 /// 清空请求头
 /// </summary>
 /// <returns></returns>
 public bool ClearHeader()
 {
     if (httpHeader == null)
     {
         return(false);
     }
     httpHeader.Clear();
     return(true);
 }
Beispiel #2
0
 public void UpdateSoapActionHeader(HttpRequestHeaderCollection headers)
 {
     headers.Clear();
     headers.Add("SOAPAction", SoapHeader);
 }