Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout not working in version 4.5.0 #2144

Closed
mohbasirudin opened this issue Mar 18, 2024 · 1 comment
Closed

timeout not working in version 4.5.0 #2144

mohbasirudin opened this issue Mar 18, 2024 · 1 comment

Comments

@mohbasirudin
Copy link

i've tried to set timeout in Option() or BaseOption(), but nothing gas working

Dio dio = Dio( BaseOptions( baseUrl: Apps.baseUrl, receiveDataWhenStatusError: true, connectTimeout: const Duration(seconds: 10), sendTimeout: const Duration(seconds: 10), receiveTimeout: const Duration(seconds: 10), contentType: Headers.formUrlEncodedContentType, validateStatus: (status) => true, ), );

Copy link
Contributor

@mohbasirudin Infra and blank issues are only available for moderators. You're apperantly using the wrong issue template.

Infra 和空白 issue 仅供管理人员使用,请选择其他 issue 模板创建 issue。

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

No branches or pull requests

1 participant