Class HTTPConfig
Namespace: Consul
Assembly: Consul.dll
public class HTTPConfig
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Properties
IdleTimeout
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? IdleTimeout { get; set; }
Property Value
int ?
NumRetries
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? NumRetries { get; set; }
Property Value
int ?
PrefixRewrite
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string PrefixRewrite { get; set; }
Property Value
RequestHeaders
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, string> RequestHeaders { get; set; }
Property Value
Dictionary <string , string >
RequestTimeout
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? RequestTimeout { get; set; }
Property Value
int ?
ResponseHeaders
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, string> ResponseHeaders { get; set; }
Property Value
Dictionary <string , string >
RetryOn
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public List<string> RetryOn { get; set; }
Property Value
RetryOnConnectFailure
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool RetryOnConnectFailure { get; set; }
Property Value
RetryOnStatusCodes
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public List<int?> RetryOnStatusCodes { get; set; }