Skip to content

Instance Property

maximumConnections

iOS 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
The maximum number of connections that the client may open to the server at any time. Must be greater than minimumConnections. Defaults to 20 connections.
var maximumConnections: Int

Discussion

Connections that are created in response to demand are kept alive for the connectionIdleTimeout before they are dropped.