webSocketIdleTimeoutMillis

fun webSocketIdleTimeoutMillis(webSocketIdleTimeoutMillis: Long?): ApolloClient.Builder

The timeout after which an inactive WebSocket will be closed

This is a convenience function that configures the underlying WebSocketNetworkTransport. See also subscriptionNetworkTransport for more customization.

Parameters

webSocketIdleTimeoutMillis

the timeout in milliseconds or null to use the 60_000 default.

See also