Skip to content

Conversation

@NOTB4D
Copy link
Collaborator

@NOTB4D NOTB4D commented Jul 31, 2025

Introduces a method to configure URLSession's waitsForConnectivity property via NetworkableConfigs. This allows requests to wait for network connectivity before proceeding, improving reliability in poor network conditions.

Introduces a method to configure URLSession's waitsForConnectivity property via NetworkableConfigs. This allows requests to wait for network connectivity before proceeding, improving reliability in poor network conditions.
/// Sets the connectivity waiting behavior for the URLSession configuration.
/// This recreates the URLSession with the updated configuration.
/// - Parameter shouldWait: Whether the session should wait for connectivity before making requests.
func setConnectivityWaiting(_ shouldWait: Bool) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URL stub ile çakışmasın? önce bu set edilir sonra stub set edilirse ne olur? tüm session set edilme durumları için gereçli sorum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants