connectTimeout property

int connectTimeout
read / write

Timeout in milliseconds for opening url. Dio will throw the DioError with DioErrorType.CONNECT_TIMEOUT type when time out.

Implementation

int connectTimeout;