getx
getx copied to clipboard
GetConnect Timeout Not Working on Web
Describe the bug The issue I'm facing is that the httpClient.timeout property of GetConnect does not seem to take effect when running my Flutter app on the web platform, while it works fine on mobile platforms. I'm looking for a solution or workaround to ensure that the timeout setting is applied consistently across all platforms, including the web.
Reproduction code NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)
example:
httpClient.timeout = const Duration(seconds: 10);
Flutter Version: 3.22.2
Getx Version: [Enter the version of the Getx you are using](get: ^5.0.0-release-candidate-6)
Describe on which device you found the bug: Chrome - web