Http Configuration
A class containing the configuration for the bot http client.
Properties
Headers that will be applied to every request.
Specifies a connection timeout in milliseconds. The connection timeout is the time period in which a client should establish a connection with a server.
Specifies a http request maximum retry if had some exceptions
Specifies a request timeout in milliseconds. The request timeout is the time period required to process an HTTP call: from sending a request to receiving a response.
Multiplier for timeout at each retry, in milliseconds i.e., for the base value maxRequestRetry the attempts will be in 3, 6, 9 seconds
By default client uses retryOnExceptionOrServerErrors strategy, but you can define custom.
Specifies a socket timeout (read and write) in milliseconds. The socket timeout is the maximum time of inactivity between two data packets when exchanging data with a server.