Method WithConnectionTimeout
WithConnectionTimeout(TimeSpan)
Specify socket connection timeout. A TimeSpan that represents the number of milliseconds to wait, or InfiniteInterval to wait indefinitely.
public ConfigBuilder WithConnectionTimeout(TimeSpan timeSpan)
Parameters
timeSpan
TimeSpanRepresents the number of milliseconds to wait or InfiniteInterval to wait indefinitely.
Returns
- ConfigBuilder
A ConfigBuilder instance for further configuration options.