Skip to content

Instance Property

minimumConnections

iOS 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
The minimum number of connections that the client shall keep open at any time, even if there is no demand. Defaults to 0.
var minimumConnections: Int

Discussion

If the open connection count becomes less than minimumConnections new connections are created immediately. Must be greater or equal to zero and less than maximumConnections.

Idle connections are kept alive using the keepAliveBehavior.