Appearance
init(replyTimeoutMilliseconds:numberOfConsecutiveTimeoutsBeforeClose:)
No overview available.
swift
init(replyTimeoutMilliseconds: Int = 5000, numberOfConsecutiveTimeoutsBeforeClose: Int? = nil)
Parameters
- replyTimeoutMilliseconds: Time in milliseconds until a reply is considered to be lost. Defaults to 5000ms
- numberOfConsecutiveTimeoutsBeforeClose: The number of timeout errors until the connection is considered to be defect and as a result closed. If
nil
timeouts will not trigger the closing of the connection. Defaults tonil