Skip to main content

Class HTTPConfig

Namespace: Consul
Assembly: Consul.dll

public class HTTPConfig

Inheritance

objectHTTPConfig

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

string

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

List <string >

RetryOnConnectFailure

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool RetryOnConnectFailure { get; set; }

Property Value

bool

RetryOnStatusCodes

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public List<int?> RetryOnStatusCodes { get; set; }

Property Value

List <int ?>

  • Properties
    • IdleTimeout
    • NumRetries
    • PrefixRewrite
    • RequestHeaders
    • RequestTimeout
    • ResponseHeaders
    • RetryOn
    • RetryOnConnectFailure
    • RetryOnStatusCodes