public void GetConfig(ITlv tlv) { tlv.Add(TlvType.TransUrl, this.Url); tlv.Add(TlvType.TransCommTimeout, CommsTimeout); tlv.Add(TlvType.TransRetryTotal, RetryTotal); tlv.Add(TlvType.TransRetryWait, RetryWait); }
public void GetConfig(ITlv tlv) { this.Config.GetConfig(tlv); if (!string.IsNullOrEmpty(this.UserAgent)) { tlv.Add(TlvType.TransUa, this.UserAgent); } if (!string.IsNullOrEmpty(this.ProxyHost)) { tlv.Add(TlvType.TransProxyHost, this.ProxyHost); } if (!string.IsNullOrEmpty(this.ProxyUser)) { tlv.Add(TlvType.TransProxyUser, this.ProxyUser); } if (!string.IsNullOrEmpty(this.ProxyPass)) { tlv.Add(TlvType.TransProxyPass, this.ProxyPass); } if (!string.IsNullOrEmpty(this.CustomHeaders)) { tlv.Add(TlvType.TransHeaders, this.CustomHeaders); } if (this.CertHash != null) { tlv.Add(TlvType.TransCertHash, this.CertHash); } }
public void GetConfig(ITlv tlv) { this.Config.GetConfig(tlv); }