Client Config
Constructors
Types
Properties
Specifies the number of connect attempts. Default is 5
.
Specifies a timeout for establishing a connection with a node.
Specifies a timeout for establishing a connection with a node.
Specifies a timeout for establishing a connection with a node.
Specifies the connect timeout in milliseconds. Default is 10000L
.
Specifies whether the client should follow redirects. Default is true
.
Specifies whether the client should follow redirects. Default is true
.
Specifies whether the client should follow redirects. Default is true
.
Specifies whether the client should follow redirects. Default is true
.
Specifies the keep alive time in milliseconds. Default is 5000L
.
Use a like agent. If this is set, the agent
field will be ignored.
Use a like agent. If this is set, the agent
field will be ignored.
Specifies the maximum number of connections used to make requests. Default is 1000
.
Specifies the maximum number of connections per route. Default is 100
.
Specifies how many times the client should retry on connection errors. Default is -1
, which means no retries.
Specifies how many times the client should retry on connection errors. Default is -1
, which means no retries.
Specifies how many times the client should retry on connection errors. Default is -1
, which means no retries.
Specifies how many times the client should retry on connection errors. Default is -1
, which means no retries.
Specifies the maximum size of the pipeline. Default is 20
.
Specifies whether the client should use pipelining. Default is false
.
Specifies the request timeout in milliseconds. Default is 10000
.
Specifies a timeout for a whole HTTP call, from sending a request to receiving a response.
Specifies a timeout for a whole HTTP call, from sending a request to receiving a response.
Specifies a timeout for a whole HTTP call, from sending a request to receiving a response.
Specifies how many times the client should retry on server errors. Default is -1
, which means no retries.
Specifies how many times the client should retry on server errors. Default is -1
, which means no retries.
Specifies how many times the client should retry on server errors. Default is -1
, which means no retries.
Specifies how many times the client should retry on server errors. Default is -1
, which means no retries.