fnc12 / Mitsoko

10 stars 1 forks source link

Timeout in network request(Network.java in mitsoko-template ) #9

Closed DonaldTrump88 closed 6 years ago

DonaldTrump88 commented 7 years ago

Is it possible to do sync call or async call with timeout in request? protected ResponseTuple doInBackground(String... strings) has httpConnection.setConnectTimeout(100000); httpConnection.setReadTimeout(100000);

Created extra issue to track it in better way. https://github.com/fnc12/Mitsoko/issues/7

fnc12 commented 7 years ago

Ok it easy to add this thing. Is it ok that timeout will not be separated to read- and connect- but will be only one common timeout?

DonaldTrump88 commented 7 years ago

I shall prefer separate read and connect as first choice.

DonaldTrump88 commented 7 years ago

Is it still in your ToDo?

fnc12 commented 7 years ago

Yes, it is. I have much primary work and it takes long time to complete the issue. I'm gonna close it in a week. Thanks for your patience

DonaldTrump88 commented 6 years ago

Did you commit for the issue?

fnc12 commented 6 years ago

no. But I have it locally. I'm gonna add it today. Sorry for a long time

fnc12 commented 6 years ago

please check out for the latest commit

fnc12 commented 6 years ago

Also don't forget to pull mitsoko template repo cause it contains android Network class update required to work

DonaldTrump88 commented 6 years ago

Thanks.