setTimeOut method
Set Connection Timeout
Implementation
R setTimeOut(int seconds) {
httpClient.timeout = Duration(seconds: seconds);
_debugLog('Timeout set to: $seconds seconds');
return this as R;
}
Set Connection Timeout
R setTimeOut(int seconds) {
httpClient.timeout = Duration(seconds: seconds);
_debugLog('Timeout set to: $seconds seconds');
return this as R;
}