Skip to content

Commit 08a0452

Browse files
authored
Update README.md (#2156)
According to the curl manpage, the option is called "--max-time".
1 parent 3a1f379 commit 08a0452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ cli.set_connection_timeout(0, 300000); // 300 milliseconds
671671
cli.set_read_timeout(5, 0); // 5 seconds
672672
cli.set_write_timeout(5, 0); // 5 seconds
673673

674-
// This method works the same as curl's `--max-timeout` option
674+
// This method works the same as curl's `--max-time` option
675675
svr.set_max_timeout(5000); // 5 seconds
676676
```
677677

0 commit comments

Comments
 (0)