Class EurekaServerOptions
- Namespace
- Steeltoe.Discovery.Eureka.Configuration
- Assembly
- Steeltoe.Discovery.Eureka.dll
public sealed class EurekaServerOptions
- Inheritance
-
EurekaServerOptions
- Inherited Members
Properties
ConnectTimeoutSeconds
Gets or sets how long to wait (in seconds) before a connection to the Eureka server times out. Note that the connections in the client are pooled and this setting affects the actual connection creation and also the wait time to get the connection from the pool. Default value: 5.
public int ConnectTimeoutSeconds { get; set; }
Property Value
ProxyHost
Gets or sets the proxy hostname used in contacting the Eureka server.
public string? ProxyHost { get; set; }
Property Value
ProxyPassword
Gets or sets the proxy password used in contacting the Eureka server.
public string? ProxyPassword { get; set; }
Property Value
ProxyPort
Gets or sets the proxy port number used in contacting the Eureka server.
public int ProxyPort { get; set; }
Property Value
ProxyUserName
Gets or sets the proxy username used in contacting the Eureka server.
public string? ProxyUserName { get; set; }
Property Value
RetryCount
Gets or sets the number of times to retry Eureka server requests. Default value: 2.
public int RetryCount { get; set; }
Property Value
ShouldGZipContent
Gets or sets a value indicating whether to auto-decompress responses from Eureka server. The registry information from the Eureka server is compressed for optimum network traffic. Default value: true.
public bool ShouldGZipContent { get; set; }