File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
library/src/main/java/com/loopj/android/http Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -506,20 +506,20 @@ public void setConnectTimeout(int value) {
506
506
}
507
507
508
508
/**
509
- * Returns current connection timeout limit (milliseconds). By default, this
509
+ * Returns current response timeout limit (milliseconds). By default, this
510
510
* is set to 10 seconds.
511
511
*
512
- * @return Connection timeout limit in milliseconds
512
+ * @return Response timeout limit in milliseconds
513
513
*/
514
514
public int getResponseTimeout () {
515
515
return responseTimeout ;
516
516
}
517
517
518
518
/**
519
- * Set connection timeout limit (milliseconds). By default, this is set to
519
+ * Set response timeout limit (milliseconds). By default, this is set to
520
520
* 10 seconds.
521
521
*
522
- * @param value Connection timeout in milliseconds, minimal value is 1000 (1 second).
522
+ * @param value Response timeout in milliseconds, minimal value is 1000 (1 second).
523
523
*/
524
524
public void setResponseTimeout (int value ) {
525
525
responseTimeout = value < 1000 ? DEFAULT_SOCKET_TIMEOUT : value ;
You can’t perform that action at this time.
0 commit comments